diff options
author | Denis Kirjanov <dkirjanov@kernel.org> | 2010-08-27 05:49:11 +0200 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2010-09-02 06:07:32 +0200 |
commit | cab175f9fa2973f0deb1580fca3c966fe1d3981e (patch) | |
tree | 887c98fcbc9c281c8b44818535badb51409db74a /arch/powerpc/include/asm/elf.h | |
parent | powerpc: Remove fpscr use from [kvm_]cvt_{fd,df} (diff) | |
download | linux-cab175f9fa2973f0deb1580fca3c966fe1d3981e.tar.xz linux-cab175f9fa2973f0deb1580fca3c966fe1d3981e.zip |
powerpc: Use is_32bit_task() helper to test 32-bit binary
This patch removes all explicit tests for the TIF_32BIT flag
Signed-off-by: Denis Kirjanov <dkirjanov@kernel.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm/elf.h')
-rw-r--r-- | arch/powerpc/include/asm/elf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/elf.h b/arch/powerpc/include/asm/elf.h index c376eda15313..2b917c69ed15 100644 --- a/arch/powerpc/include/asm/elf.h +++ b/arch/powerpc/include/asm/elf.h @@ -250,7 +250,7 @@ do { \ * the 64bit ABI has never had these issues dont enable the workaround * even if we have an executable stack. */ -# define elf_read_implies_exec(ex, exec_stk) (test_thread_flag(TIF_32BIT) ? \ +# define elf_read_implies_exec(ex, exec_stk) (is_32bit_task() ? \ (exec_stk == EXSTACK_DEFAULT) : 0) #else # define SET_PERSONALITY(ex) \ |