aboutsummaryrefslogtreecommitdiffstats
path: root/arch/parisc/kernel
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/kernel
parentecf02de5a1491592d1b68d8095ff62ea3aaee67e (diff)
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/kernel')
-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 5698668166cd..07de1bbb69a5 100644
--- a/arch/parisc/kernel/syscall.S
+++ b/arch/parisc/kernel/syscall.S
@@ -355,7 +355,7 @@ tracesys_exit:
355 355
356tracesys_sigexit: 356tracesys_sigexit:
357 ldo -THREAD_SZ_ALGN-FRAME_SIZE(%r30),%r1 /* get task ptr */ 357 ldo -THREAD_SZ_ALGN-FRAME_SIZE(%r30),%r1 /* get task ptr */
358 LDREG 0(%r1), %r1 358 LDREG TI_TASK(%r1), %r1
359#ifdef CONFIG_64BIT 359#ifdef CONFIG_64BIT
360 ldo -16(%r30),%r29 /* Reference param save area */ 360 ldo -16(%r30),%r29 /* Reference param save area */
361#endif 361#endif