diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2010-01-30 05:20:59 -0500 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2010-01-31 22:00:30 -0500 |
commit | 94f28da8409c6059135e89ac64a0839993124155 (patch) | |
tree | 50849d023a554e46a11a5102172f6bcb65027fe1 /arch/powerpc/kernel/process.c | |
parent | bf647fafda6515adf5ba84249fd08f64b5a9ec21 (diff) |
powerpc: TIF_ABI_PENDING bit removal
Here are the powerpc bits to remove TIF_ABI_PENDING now that
set_personality() is called at the appropriate place in exec.
Signed-off-by: Andreas Schwab <schwab@linux-m68k.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/process.c')
-rw-r--r-- | arch/powerpc/kernel/process.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/powerpc/kernel/process.c b/arch/powerpc/kernel/process.c index c930ac38e59f..7b816daf3eba 100644 --- a/arch/powerpc/kernel/process.c +++ b/arch/powerpc/kernel/process.c | |||
@@ -554,18 +554,6 @@ void exit_thread(void) | |||
554 | 554 | ||
555 | void flush_thread(void) | 555 | void flush_thread(void) |
556 | { | 556 | { |
557 | #ifdef CONFIG_PPC64 | ||
558 | struct thread_info *t = current_thread_info(); | ||
559 | |||
560 | if (test_ti_thread_flag(t, TIF_ABI_PENDING)) { | ||
561 | clear_ti_thread_flag(t, TIF_ABI_PENDING); | ||
562 | if (test_ti_thread_flag(t, TIF_32BIT)) | ||
563 | clear_ti_thread_flag(t, TIF_32BIT); | ||
564 | else | ||
565 | set_ti_thread_flag(t, TIF_32BIT); | ||
566 | } | ||
567 | #endif | ||
568 | |||
569 | discard_lazy_cpu_state(); | 557 | discard_lazy_cpu_state(); |
570 | 558 | ||
571 | if (current->thread.dabr) { | 559 | if (current->thread.dabr) { |