git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
powerpc: Use is_32bit_task() helper to test 32-bit binary
[pandora-kernel.git]
/
arch
/
powerpc
/
kernel
/
ptrace.c
diff --git
a/arch/powerpc/kernel/ptrace.c
b/arch/powerpc/kernel/ptrace.c
index
11f3cd9
..
286d978
100644
(file)
--- a/
arch/powerpc/kernel/ptrace.c
+++ b/
arch/powerpc/kernel/ptrace.c
@@
-1681,7
+1681,7
@@
long do_syscall_trace_enter(struct pt_regs *regs)
if (unlikely(current->audit_context)) {
#ifdef CONFIG_PPC64
if (unlikely(current->audit_context)) {
#ifdef CONFIG_PPC64
- if (!
test_thread_flag(TIF_32BIT
))
+ if (!
is_32bit_task(
))
audit_syscall_entry(AUDIT_ARCH_PPC64,
regs->gpr[0],
regs->gpr[3], regs->gpr[4],
audit_syscall_entry(AUDIT_ARCH_PPC64,
regs->gpr[0],
regs->gpr[3], regs->gpr[4],