|
@@ -85,8 +85,6 @@ extern void set_pmd_pfn(unsigned long, unsigned long, pgprot_t);
|
|
/* The boot page tables (all created as a single array) */
|
|
/* The boot page tables (all created as a single array) */
|
|
extern unsigned long pg0[];
|
|
extern unsigned long pg0[];
|
|
|
|
|
|
-/* To avoid harmful races, pmd_none(x) should check only the lower when PAE */
|
|
|
|
-#define pmd_none(x) (!(unsigned long)pmd_val((x)))
|
|
|
|
#define pmd_bad(x) ((pmd_val(x) & (PTE_FLAGS_MASK & ~_PAGE_USER)) != _KERNPG_TABLE)
|
|
#define pmd_bad(x) ((pmd_val(x) & (PTE_FLAGS_MASK & ~_PAGE_USER)) != _KERNPG_TABLE)
|
|
|
|
|
|
#define pages_to_mb(x) ((x) >> (20-PAGE_SHIFT))
|
|
#define pages_to_mb(x) ((x) >> (20-PAGE_SHIFT))
|