diff options
Diffstat (limited to 'include/asm-x86/pgtable_64.h')
-rw-r--r-- | include/asm-x86/pgtable_64.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-x86/pgtable_64.h b/include/asm-x86/pgtable_64.h index 01d2359e7a34..6ef09914acbe 100644 --- a/include/asm-x86/pgtable_64.h +++ b/include/asm-x86/pgtable_64.h | |||
@@ -239,6 +239,8 @@ static inline int pud_large(pud_t pte) | |||
239 | 239 | ||
240 | #define update_mmu_cache(vma,address,pte) do { } while (0) | 240 | #define update_mmu_cache(vma,address,pte) do { } while (0) |
241 | 241 | ||
242 | extern int direct_gbpages; | ||
243 | |||
242 | /* Encode and de-code a swap entry */ | 244 | /* Encode and de-code a swap entry */ |
243 | #define __swp_type(x) (((x).val >> 1) & 0x3f) | 245 | #define __swp_type(x) (((x).val >> 1) & 0x3f) |
244 | #define __swp_offset(x) ((x).val >> 8) | 246 | #define __swp_offset(x) ((x).val >> 8) |