Lines 52-58
static inline void clear_page(void *addr)
Link Here
|
52 |
for (i = 0; i < PAGE_SIZE / L1_CACHE_BYTES; i++, addr += L1_CACHE_BYTES) |
52 |
for (i = 0; i < PAGE_SIZE / L1_CACHE_BYTES; i++, addr += L1_CACHE_BYTES) |
53 |
dcbz(addr); |
53 |
dcbz(addr); |
54 |
} |
54 |
} |
55 |
extern void copy_page(void *to, void *from); |
55 |
extern void __copy_page(void *to, void *from); |
|
|
56 |
static inline void copy_page(void *to, void *from) |
57 |
{ |
58 |
WARN_ON((unsigned long)to & (L1_CACHE_BYTES - 1)); |
59 |
__copy_page(to, from); |
60 |
} |
56 |
|
61 |
|
57 |
#include <asm-generic/getorder.h> |
62 |
#include <asm-generic/getorder.h> |
58 |
|
63 |
|