summaryrefslogtreecommitdiff
path: root/arch/parisc
diff options
context:
space:
mode:
authorKyle McMartin <kyle@mcmartin.ca>2009-07-05 14:39:58 -0400
committerKyle McMartin <kyle@ihatethathostname.lab.bos.redhat.com>2009-09-27 23:07:22 -0400
commit5837d42f8ae9874fd93928c6784b2224f0edd4c9 (patch)
tree4202f1c565eda31491c488ab821072505e20faab /arch/parisc
parentecf02de5a1491592d1b68d8095ff62ea3aaee67e (diff)
downloadlinux-3.10-5837d42f8ae9874fd93928c6784b2224f0edd4c9.tar.gz
linux-3.10-5837d42f8ae9874fd93928c6784b2224f0edd4c9.tar.bz2
linux-3.10-5837d42f8ae9874fd93928c6784b2224f0edd4c9.zip
parisc: add missing TI_TASK macro in syscall.S
LDREG 0(%r1),%r1 really wants to be accessing thread_info.task, instead of hardcoding the 0. Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
Diffstat (limited to 'arch/parisc')
-rw-r--r--arch/parisc/kernel/syscall.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/kernel/syscall.S b/arch/parisc/kernel/syscall.S
index 5698668166c..07de1bbb69a 100644
--- a/arch/parisc/kernel/syscall.S
+++ b/arch/parisc/kernel/syscall.S
@@ -355,7 +355,7 @@ tracesys_exit:
tracesys_sigexit:
ldo -THREAD_SZ_ALGN-FRAME_SIZE(%r30),%r1 /* get task ptr */
- LDREG 0(%r1), %r1
+ LDREG TI_TASK(%r1), %r1
#ifdef CONFIG_64BIT
ldo -16(%r30),%r29 /* Reference param save area */
#endif