diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-02-17 23:47:04 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-02-26 08:46:08 +0100 |
commit | e72837e3e7bae3f182c4ac63c9424e86f1158dd0 (patch) | |
tree | 0d4d51e61aff21b3e6d3b1816b8cb52edcfbd39e /arch/s390 | |
parent | ceph: prepopulate inodes only when request is aborted (diff) | |
download | linux-e72837e3e7bae3f182c4ac63c9424e86f1158dd0.tar.xz linux-e72837e3e7bae3f182c4ac63c9424e86f1158dd0.zip |
default SET_PERSONALITY() in linux/elf.h
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/s390')
-rw-r--r-- | arch/s390/include/asm/elf.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/s390/include/asm/elf.h b/arch/s390/include/asm/elf.h index 178ff966a8ba..1bfdf24b85a2 100644 --- a/arch/s390/include/asm/elf.h +++ b/arch/s390/include/asm/elf.h @@ -180,10 +180,7 @@ extern unsigned long elf_hwcap; extern char elf_platform[]; #define ELF_PLATFORM (elf_platform) -#ifndef CONFIG_64BIT -#define SET_PERSONALITY(ex) \ - set_personality(PER_LINUX | (current->personality & (~PER_MASK))) -#else /* CONFIG_64BIT */ +#ifdef CONFIG_64BIT #define SET_PERSONALITY(ex) \ do { \ if (personality(current->personality) != PER_LINUX32) \ |