summaryrefslogtreecommitdiff
path: root/arch/score/include/asm
diff options
context:
space:
mode:
Diffstat (limited to 'arch/score/include/asm')
-rw-r--r--arch/score/include/asm/elf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/score/include/asm/elf.h b/arch/score/include/asm/elf.h
index f478ce9..5d566c7 100644
--- a/arch/score/include/asm/elf.h
+++ b/arch/score/include/asm/elf.h
@@ -54,7 +54,7 @@ typedef elf_fpreg_t elf_fpregset_t;
#define SET_PERSONALITY(ex) \
do { \
- set_personality(PER_LINUX); \
+ set_personality(PER_LINUX | (current->personality & (~PER_MASK))); \
} while (0)
struct task_struct;