diff options
Diffstat (limited to 'arch/hexagon/include/asm/elf.h')
-rw-r--r-- | arch/hexagon/include/asm/elf.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/hexagon/include/asm/elf.h b/arch/hexagon/include/asm/elf.h index 37976a0d3650..82b499621e05 100644 --- a/arch/hexagon/include/asm/elf.h +++ b/arch/hexagon/include/asm/elf.h | |||
@@ -217,7 +217,8 @@ do { \ | |||
217 | #define ELF_PLATFORM (NULL) | 217 | #define ELF_PLATFORM (NULL) |
218 | 218 | ||
219 | #ifdef __KERNEL__ | 219 | #ifdef __KERNEL__ |
220 | #define SET_PERSONALITY(ex) set_personality(PER_LINUX) | 220 | #define SET_PERSONALITY(ex) \ |
221 | set_personality(PER_LINUX | (current->personality & (~PER_MASK))) | ||
221 | #endif | 222 | #endif |
222 | 223 | ||
223 | #define ARCH_HAS_SETUP_ADDITIONAL_PAGES 1 | 224 | #define ARCH_HAS_SETUP_ADDITIONAL_PAGES 1 |