diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-sh/pgtable.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/asm-sh/pgtable.h b/include/asm-sh/pgtable.h index f87504abb43f..c84901dbd8e5 100644 --- a/include/asm-sh/pgtable.h +++ b/include/asm-sh/pgtable.h | |||
@@ -197,6 +197,14 @@ extern unsigned long empty_zero_page[PAGE_SIZE / sizeof(unsigned long)]; | |||
197 | # endif | 197 | # endif |
198 | #endif | 198 | #endif |
199 | 199 | ||
200 | /* | ||
201 | * Stub out _PAGE_SZHUGE if we don't have a good definition for it, | ||
202 | * to make pte_mkhuge() happy. | ||
203 | */ | ||
204 | #ifndef _PAGE_SZHUGE | ||
205 | # define _PAGE_SZHUGE (_PAGE_FLAGS_HARD) | ||
206 | #endif | ||
207 | |||
200 | #define _PAGE_CHG_MASK \ | 208 | #define _PAGE_CHG_MASK \ |
201 | (PTE_MASK | _PAGE_ACCESSED | _PAGE_CACHABLE | _PAGE_DIRTY) | 209 | (PTE_MASK | _PAGE_ACCESSED | _PAGE_CACHABLE | _PAGE_DIRTY) |
202 | 210 | ||