diff options
Diffstat (limited to 'arch/s390/include/asm/elf.h')
-rw-r--r-- | arch/s390/include/asm/elf.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/s390/include/asm/elf.h b/arch/s390/include/asm/elf.h index c4ee39f7a4d6..06151e6a3098 100644 --- a/arch/s390/include/asm/elf.h +++ b/arch/s390/include/asm/elf.h | |||
@@ -107,11 +107,11 @@ | |||
107 | /* | 107 | /* |
108 | * These are used to set parameters in the core dumps. | 108 | * These are used to set parameters in the core dumps. |
109 | */ | 109 | */ |
110 | #ifndef __s390x__ | 110 | #ifndef CONFIG_64BIT |
111 | #define ELF_CLASS ELFCLASS32 | 111 | #define ELF_CLASS ELFCLASS32 |
112 | #else /* __s390x__ */ | 112 | #else /* CONFIG_64BIT */ |
113 | #define ELF_CLASS ELFCLASS64 | 113 | #define ELF_CLASS ELFCLASS64 |
114 | #endif /* __s390x__ */ | 114 | #endif /* CONFIG_64BIT */ |
115 | #define ELF_DATA ELFDATA2MSB | 115 | #define ELF_DATA ELFDATA2MSB |
116 | #define ELF_ARCH EM_S390 | 116 | #define ELF_ARCH EM_S390 |
117 | 117 | ||
@@ -181,9 +181,9 @@ extern unsigned long elf_hwcap; | |||
181 | extern char elf_platform[]; | 181 | extern char elf_platform[]; |
182 | #define ELF_PLATFORM (elf_platform) | 182 | #define ELF_PLATFORM (elf_platform) |
183 | 183 | ||
184 | #ifndef __s390x__ | 184 | #ifndef CONFIG_64BIT |
185 | #define SET_PERSONALITY(ex) set_personality(PER_LINUX) | 185 | #define SET_PERSONALITY(ex) set_personality(PER_LINUX) |
186 | #else /* __s390x__ */ | 186 | #else /* CONFIG_64BIT */ |
187 | #define SET_PERSONALITY(ex) \ | 187 | #define SET_PERSONALITY(ex) \ |
188 | do { \ | 188 | do { \ |
189 | if (personality(current->personality) != PER_LINUX32) \ | 189 | if (personality(current->personality) != PER_LINUX32) \ |
@@ -194,7 +194,7 @@ do { \ | |||
194 | else \ | 194 | else \ |
195 | clear_thread_flag(TIF_31BIT); \ | 195 | clear_thread_flag(TIF_31BIT); \ |
196 | } while (0) | 196 | } while (0) |
197 | #endif /* __s390x__ */ | 197 | #endif /* CONFIG_64BIT */ |
198 | 198 | ||
199 | #define STACK_RND_MASK 0x7ffUL | 199 | #define STACK_RND_MASK 0x7ffUL |
200 | 200 | ||