diff options
Diffstat (limited to 'arch/s390/include/asm/tlb.h')
-rw-r--r-- | arch/s390/include/asm/tlb.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/s390/include/asm/tlb.h b/arch/s390/include/asm/tlb.h index 775a5eea8f9e..06e5acbc84bd 100644 --- a/arch/s390/include/asm/tlb.h +++ b/arch/s390/include/asm/tlb.h | |||
@@ -106,7 +106,7 @@ static inline void pte_free_tlb(struct mmu_gather *tlb, pgtable_t pte, | |||
106 | static inline void pmd_free_tlb(struct mmu_gather *tlb, pmd_t *pmd, | 106 | static inline void pmd_free_tlb(struct mmu_gather *tlb, pmd_t *pmd, |
107 | unsigned long address) | 107 | unsigned long address) |
108 | { | 108 | { |
109 | #ifdef __s390x__ | 109 | #ifdef CONFIG_64BIT |
110 | if (tlb->mm->context.asce_limit <= (1UL << 31)) | 110 | if (tlb->mm->context.asce_limit <= (1UL << 31)) |
111 | return; | 111 | return; |
112 | if (!tlb->fullmm) | 112 | if (!tlb->fullmm) |
@@ -125,7 +125,7 @@ static inline void pmd_free_tlb(struct mmu_gather *tlb, pmd_t *pmd, | |||
125 | static inline void pud_free_tlb(struct mmu_gather *tlb, pud_t *pud, | 125 | static inline void pud_free_tlb(struct mmu_gather *tlb, pud_t *pud, |
126 | unsigned long address) | 126 | unsigned long address) |
127 | { | 127 | { |
128 | #ifdef __s390x__ | 128 | #ifdef CONFIG_64BIT |
129 | if (tlb->mm->context.asce_limit <= (1UL << 42)) | 129 | if (tlb->mm->context.asce_limit <= (1UL << 42)) |
130 | return; | 130 | return; |
131 | if (!tlb->fullmm) | 131 | if (!tlb->fullmm) |