diff options
Diffstat (limited to 'include/asm-generic/pgtable.h')
-rw-r--r-- | include/asm-generic/pgtable.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/asm-generic/pgtable.h b/include/asm-generic/pgtable.h index 6f3c6ae4fe03..0ab2cd27c60f 100644 --- a/include/asm-generic/pgtable.h +++ b/include/asm-generic/pgtable.h | |||
@@ -348,6 +348,17 @@ extern void untrack_pfn_vma(struct vm_area_struct *vma, unsigned long pfn, | |||
348 | unsigned long size); | 348 | unsigned long size); |
349 | #endif | 349 | #endif |
350 | 350 | ||
351 | #ifndef CONFIG_TRANSPARENT_HUGEPAGE | ||
352 | static inline int pmd_trans_huge(pmd_t pmd) | ||
353 | { | ||
354 | return 0; | ||
355 | } | ||
356 | static inline int pmd_trans_splitting(pmd_t pmd) | ||
357 | { | ||
358 | return 0; | ||
359 | } | ||
360 | #endif | ||
361 | |||
351 | #endif /* !__ASSEMBLY__ */ | 362 | #endif /* !__ASSEMBLY__ */ |
352 | 363 | ||
353 | #endif /* _ASM_GENERIC_PGTABLE_H */ | 364 | #endif /* _ASM_GENERIC_PGTABLE_H */ |