diff options
-rw-r--r-- | include/asm-sparc64/pgtable.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-sparc64/pgtable.h b/include/asm-sparc64/pgtable.h index bc446f302ea4..bab7defd8b3e 100644 --- a/include/asm-sparc64/pgtable.h +++ b/include/asm-sparc64/pgtable.h | |||
@@ -354,6 +354,7 @@ static inline pgprot_t pgprot_noncached(pgprot_t prot) | |||
354 | */ | 354 | */ |
355 | #define pgprot_noncached pgprot_noncached | 355 | #define pgprot_noncached pgprot_noncached |
356 | 356 | ||
357 | #ifdef CONFIG_HUGETLB_PAGE | ||
357 | static inline pte_t pte_mkhuge(pte_t pte) | 358 | static inline pte_t pte_mkhuge(pte_t pte) |
358 | { | 359 | { |
359 | unsigned long mask; | 360 | unsigned long mask; |
@@ -371,6 +372,7 @@ static inline pte_t pte_mkhuge(pte_t pte) | |||
371 | 372 | ||
372 | return __pte(pte_val(pte) | mask); | 373 | return __pte(pte_val(pte) | mask); |
373 | } | 374 | } |
375 | #endif | ||
374 | 376 | ||
375 | static inline pte_t pte_mkdirty(pte_t pte) | 377 | static inline pte_t pte_mkdirty(pte_t pte) |
376 | { | 378 | { |