diff options
Diffstat (limited to 'arch/powerpc/include/asm/pgtable.h')
-rw-r--r-- | arch/powerpc/include/asm/pgtable.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/pgtable.h b/arch/powerpc/include/asm/pgtable.h index 3ebb188c3ff5..d98c1ecc3266 100644 --- a/arch/powerpc/include/asm/pgtable.h +++ b/arch/powerpc/include/asm/pgtable.h | |||
@@ -44,6 +44,12 @@ static inline int pte_present(pte_t pte) | |||
44 | return pte_val(pte) & (_PAGE_PRESENT | _PAGE_NUMA); | 44 | return pte_val(pte) & (_PAGE_PRESENT | _PAGE_NUMA); |
45 | } | 45 | } |
46 | 46 | ||
47 | #define pte_present_nonuma pte_present_nonuma | ||
48 | static inline int pte_present_nonuma(pte_t pte) | ||
49 | { | ||
50 | return pte_val(pte) & (_PAGE_PRESENT); | ||
51 | } | ||
52 | |||
47 | #define pte_numa pte_numa | 53 | #define pte_numa pte_numa |
48 | static inline int pte_numa(pte_t pte) | 54 | static inline int pte_numa(pte_t pte) |
49 | { | 55 | { |