summaryrefslogtreecommitdiff
path: root/arch/score/include
diff options
context:
space:
mode:
Diffstat (limited to 'arch/score/include')
-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 f478ce94181f..5d566c7a0af2 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;