summaryrefslogtreecommitdiffstats
path: root/include/asm-alpha/elf.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-alpha/elf.h')
-rw-r--r--include/asm-alpha/elf.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/asm-alpha/elf.h b/include/asm-alpha/elf.h
index 8d614e38f..26b2b27a7 100644
--- a/include/asm-alpha/elf.h
+++ b/include/asm-alpha/elf.h
@@ -127,8 +127,7 @@ typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG];
#ifdef __KERNEL__
#define SET_PERSONALITY(EX, IBCS2) \
- current->personality = \
- ((EX).e_flags & EF_ALPHA_32BIT \
+ set_personality((EX).e_flags & EF_ALPHA_32BIT \
? PER_LINUX_32BIT : (IBCS2) ? PER_SVR4 : PER_LINUX)
#endif