diff options
Diffstat (limited to 'arch/powerpc/oprofile/backtrace.c')
-rw-r--r-- | arch/powerpc/oprofile/backtrace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/oprofile/backtrace.c b/arch/powerpc/oprofile/backtrace.c index b4278cfd1f80..f75301f2c85f 100644 --- a/arch/powerpc/oprofile/backtrace.c +++ b/arch/powerpc/oprofile/backtrace.c | |||
@@ -105,7 +105,7 @@ void op_powerpc_backtrace(struct pt_regs * const regs, unsigned int depth) | |||
105 | } | 105 | } |
106 | } else { | 106 | } else { |
107 | #ifdef CONFIG_PPC64 | 107 | #ifdef CONFIG_PPC64 |
108 | if (!test_thread_flag(TIF_32BIT)) { | 108 | if (!is_32bit_task()) { |
109 | while (depth--) { | 109 | while (depth--) { |
110 | sp = user_getsp64(sp, first_frame); | 110 | sp = user_getsp64(sp, first_frame); |
111 | if (!sp) | 111 | if (!sp) |