diff options
Diffstat (limited to 'include/asm-powerpc/elf.h')
-rw-r--r-- | include/asm-powerpc/elf.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-powerpc/elf.h b/include/asm-powerpc/elf.h index 746e53d60cbe..b6a874db801d 100644 --- a/include/asm-powerpc/elf.h +++ b/include/asm-powerpc/elf.h | |||
@@ -255,7 +255,8 @@ do { \ | |||
255 | else \ | 255 | else \ |
256 | clear_thread_flag(TIF_ABI_PENDING); \ | 256 | clear_thread_flag(TIF_ABI_PENDING); \ |
257 | if (personality(current->personality) != PER_LINUX32) \ | 257 | if (personality(current->personality) != PER_LINUX32) \ |
258 | set_personality(PER_LINUX); \ | 258 | set_personality(PER_LINUX | \ |
259 | (current->personality & (~PER_MASK))); \ | ||
259 | } while (0) | 260 | } while (0) |
260 | /* | 261 | /* |
261 | * An executable for which elf_read_implies_exec() returns TRUE will | 262 | * An executable for which elf_read_implies_exec() returns TRUE will |