1 #ifndef _ASM_POWERPC_PAGE_32_H
2 #define _ASM_POWERPC_PAGE_32_H
4 #define VM_DATA_DEFAULT_FLAGS VM_DATA_DEFAULT_FLAGS32
6 #ifdef CONFIG_NOT_COHERENT_CACHE
7 #define ARCH_KMALLOC_MINALIGN L1_CACHE_BYTES
12 * The basic type of a PTE - 64 bits for those CPUs with > 32 bit
13 * physical addressing. For now this just the IBM PPC440.
15 #ifdef CONFIG_PTE_64BIT
16 typedef unsigned long long pte_basic_t
;
17 #define PTE_SHIFT (PAGE_SHIFT - 3) /* 512 ptes per page */
19 typedef unsigned long pte_basic_t
;
20 #define PTE_SHIFT (PAGE_SHIFT - 2) /* 1024 ptes per page */
24 extern void clear_pages(void *page
, int order
);
25 static inline void clear_page(void *page
) { clear_pages(page
, 0); }
26 extern void copy_page(void *to
, void *from
);
28 #include <asm-generic/page.h>
30 #endif /* __ASSEMBLY__ */
32 #endif /* _ASM_POWERPC_PAGE_32_H */
This page took 0.034064 seconds and 5 git commands to generate.