]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/powerpc/oprofile/backtrace.c
powerpc: Use is_32bit_task() helper to test 32-bit binary
[karo-tx-linux.git] / arch / powerpc / oprofile / backtrace.c
index b4278cfd1f80cccb5596f29b6c5068961aad06c2..f75301f2c85fd2960acd21ee427527614934585e 100644 (file)
@@ -105,7 +105,7 @@ void op_powerpc_backtrace(struct pt_regs * const regs, unsigned int depth)
                }
        } else {
 #ifdef CONFIG_PPC64
-               if (!test_thread_flag(TIF_32BIT)) {
+               if (!is_32bit_task()) {
                        while (depth--) {
                                sp = user_getsp64(sp, first_frame);
                                if (!sp)