diff options
Diffstat (limited to 'arch/powerpc/include/asm/elf.h')
| -rw-r--r-- | arch/powerpc/include/asm/elf.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/elf.h b/arch/powerpc/include/asm/elf.h index 935b5e7a1436..888d8f3f2524 100644 --- a/arch/powerpc/include/asm/elf.h +++ b/arch/powerpc/include/asm/elf.h | |||
| @@ -90,6 +90,8 @@ typedef elf_vrregset_t elf_fpxregset_t; | |||
| 90 | do { \ | 90 | do { \ |
| 91 | if (((ex).e_flags & 0x3) == 2) \ | 91 | if (((ex).e_flags & 0x3) == 2) \ |
| 92 | set_thread_flag(TIF_ELF2ABI); \ | 92 | set_thread_flag(TIF_ELF2ABI); \ |
| 93 | else \ | ||
| 94 | clear_thread_flag(TIF_ELF2ABI); \ | ||
| 93 | if ((ex).e_ident[EI_CLASS] == ELFCLASS32) \ | 95 | if ((ex).e_ident[EI_CLASS] == ELFCLASS32) \ |
| 94 | set_thread_flag(TIF_32BIT); \ | 96 | set_thread_flag(TIF_32BIT); \ |
| 95 | else \ | 97 | else \ |
