Skip to content

Commit 5837d42

Browse files
jkkmKyle McMartin
authored andcommitted
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 <[email protected]>
1 parent ecf02de commit 5837d42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/parisc/kernel/syscall.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ tracesys_exit:
355355

356356
tracesys_sigexit:
357357
ldo -THREAD_SZ_ALGN-FRAME_SIZE(%r30),%r1 /* get task ptr */
358-
LDREG 0(%r1), %r1
358+
LDREG TI_TASK(%r1), %r1
359359
#ifdef CONFIG_64BIT
360360
ldo -16(%r30),%r29 /* Reference param save area */
361361
#endif

0 commit comments

Comments
 (0)