parisc: add missing TI_TASK macro in syscall.S
authorKyle McMartin <kyle@mcmartin.ca>
Sun, 5 Jul 2009 18:39:58 +0000 (14:39 -0400)
committerKyle McMartin <kyle@ihatethathostname.lab.bos.redhat.com>
Mon, 28 Sep 2009 03:07:22 +0000 (23:07 -0400)
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>
arch/parisc/kernel/syscall.S

index 5698668166cd1cbc8cf7de05b3dd65e642fb3960..07de1bbb69a52f534bbc030a71a277a15aa419d0 100644 (file)
@@ -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