diff options
Diffstat (limited to 'arch/openrisc')
-rw-r--r-- | arch/openrisc/include/asm/elf.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/openrisc/include/asm/elf.h b/arch/openrisc/include/asm/elf.h index a8fe2c513070..225a7ff320ad 100644 --- a/arch/openrisc/include/asm/elf.h +++ b/arch/openrisc/include/asm/elf.h | |||
@@ -110,7 +110,8 @@ extern void dump_elf_thread(elf_greg_t *dest, struct pt_regs *pt); | |||
110 | 110 | ||
111 | #define ELF_PLATFORM (NULL) | 111 | #define ELF_PLATFORM (NULL) |
112 | 112 | ||
113 | #define SET_PERSONALITY(ex) set_personality(PER_LINUX) | 113 | #define SET_PERSONALITY(ex) \ |
114 | set_personality(PER_LINUX | (current->personality & (~PER_MASK))) | ||
114 | 115 | ||
115 | #endif /* __KERNEL__ */ | 116 | #endif /* __KERNEL__ */ |
116 | #endif | 117 | #endif |