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/pgalloc.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/pgalloc.h')
-rw-r--r-- | arch/s390/include/asm/pgalloc.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/s390/include/asm/pgalloc.h b/arch/s390/include/asm/pgalloc.h index 78e3041919de..43078c194394 100644 --- a/arch/s390/include/asm/pgalloc.h +++ b/arch/s390/include/asm/pgalloc.h | |||
@@ -48,7 +48,7 @@ static inline void crst_table_init(unsigned long *crst, unsigned long entry) | |||
48 | clear_table(crst, entry, sizeof(unsigned long)*2048); | 48 | clear_table(crst, entry, sizeof(unsigned long)*2048); |
49 | } | 49 | } |
50 | 50 | ||
51 | #ifndef __s390x__ | 51 | #ifndef CONFIG_64BIT |
52 | 52 | ||
53 | static inline unsigned long pgd_entry_type(struct mm_struct *mm) | 53 | static inline unsigned long pgd_entry_type(struct mm_struct *mm) |
54 | { | 54 | { |
@@ -64,7 +64,7 @@ static inline unsigned long pgd_entry_type(struct mm_struct *mm) | |||
64 | #define pgd_populate(mm, pgd, pud) BUG() | 64 | #define pgd_populate(mm, pgd, pud) BUG() |
65 | #define pud_populate(mm, pud, pmd) BUG() | 65 | #define pud_populate(mm, pud, pmd) BUG() |
66 | 66 | ||
67 | #else /* __s390x__ */ | 67 | #else /* CONFIG_64BIT */ |
68 | 68 | ||
69 | static inline unsigned long pgd_entry_type(struct mm_struct *mm) | 69 | static inline unsigned long pgd_entry_type(struct mm_struct *mm) |
70 | { | 70 | { |
@@ -106,7 +106,7 @@ static inline void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd) | |||
106 | pud_val(*pud) = _REGION3_ENTRY | __pa(pmd); | 106 | pud_val(*pud) = _REGION3_ENTRY | __pa(pmd); |
107 | } | 107 | } |
108 | 108 | ||
109 | #endif /* __s390x__ */ | 109 | #endif /* CONFIG_64BIT */ |
110 | 110 | ||
111 | static inline pgd_t *pgd_alloc(struct mm_struct *mm) | 111 | static inline pgd_t *pgd_alloc(struct mm_struct *mm) |
112 | { | 112 | { |