diff options
author | Kyle McMartin <kyle@mcmartin.ca> | 2009-07-05 14:39:58 -0400 |
---|---|---|
committer | Kyle McMartin <kyle@ihatethathostname.lab.bos.redhat.com> | 2009-09-27 23:07:22 -0400 |
commit | 5837d42f8ae9874fd93928c6784b2224f0edd4c9 (patch) | |
tree | 4202f1c565eda31491c488ab821072505e20faab /arch/parisc/kernel/syscall.S | |
parent | ecf02de5a1491592d1b68d8095ff62ea3aaee67e (diff) | |
download | kernel_samsung_smdk4412-5837d42f8ae9874fd93928c6784b2224f0edd4c9.tar.gz kernel_samsung_smdk4412-5837d42f8ae9874fd93928c6784b2224f0edd4c9.tar.bz2 kernel_samsung_smdk4412-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/kernel/syscall.S')
-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 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 |