diff options
author | Kyle McMartin <kyle@mcmartin.ca> | 2009-07-05 20:39:58 +0200 |
---|---|---|
committer | Kyle McMartin <kyle@ihatethathostname.lab.bos.redhat.com> | 2009-09-28 05:07:22 +0200 |
commit | 5837d42f8ae9874fd93928c6784b2224f0edd4c9 (patch) | |
tree | 4202f1c565eda31491c488ab821072505e20faab /arch/parisc | |
parent | parisc: tracehook_signal_handler (diff) | |
download | linux-5837d42f8ae9874fd93928c6784b2224f0edd4c9.tar.xz linux-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.S | 2 |
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: 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 |