summaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-02-17 17:47:04 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2013-02-26 02:46:08 -0500
commite72837e3e7bae3f182c4ac63c9424e86f1158dd0 (patch)
tree0d4d51e61aff21b3e6d3b1816b8cb52edcfbd39e /arch/powerpc
parent79f9f99ad1e3e19d4ac300573b51289e3ee8ba86 (diff)
downloadlinux-e72837e3e7bae3f182c4ac63c9424e86f1158dd0.tar.gz
linux-e72837e3e7bae3f182c4ac63c9424e86f1158dd0.tar.bz2
linux-e72837e3e7bae3f182c4ac63c9424e86f1158dd0.zip
default SET_PERSONALITY() in linux/elf.h
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/include/asm/elf.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/include/asm/elf.h b/arch/powerpc/include/asm/elf.h
index 6abf0a163233..ac9790fc3836 100644
--- a/arch/powerpc/include/asm/elf.h
+++ b/arch/powerpc/include/asm/elf.h
@@ -103,8 +103,6 @@ do { \
# define elf_read_implies_exec(ex, exec_stk) (is_32bit_task() ? \
(exec_stk == EXSTACK_DEFAULT) : 0)
#else
-# define SET_PERSONALITY(ex) \
- set_personality(PER_LINUX | (current->personality & (~PER_MASK)))
# define elf_read_implies_exec(ex, exec_stk) (exec_stk == EXSTACK_DEFAULT)
#endif /* __powerpc64__ */