diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2012-05-23 10:24:51 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2012-05-24 04:10:10 -0400 |
commit | f4815ac6c935b8e441fe12504d62e0e8ff7f7ce5 (patch) | |
tree | 32b78252b6b155e7a218c571d9e994c78da1aee0 /arch/s390/include/asm/tlb.h | |
parent | da477737c5ec99d37cb78dab909aa0402a0ebf18 (diff) |
s390/headers: replace __s390x__ with CONFIG_64BIT where possible
Replace __s390x__ with CONFIG_64BIT in all places that are not exported
to userspace or guarded with #ifdef __KERNEL__.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
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) |