Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 118551
Collapse All | Expand All

(-)linux-2.6.15/arch/sparc64/kernel/entry.S (-5 / +2 lines)
Lines 1657-1669 Link Here
1657
	/* Check if force_successful_syscall_return()
1657
	/* Check if force_successful_syscall_return()
1658
	 * was invoked.
1658
	 * was invoked.
1659
	 */
1659
	 */
1660
	ldub		[%curptr + TI_SYS_NOERROR], %l0
1660
	ldub		[%curptr + TI_SYS_NOERROR], %l2
1661
	brz,pt		%l0, 1f
1661
	brnz,a,pn	%l2, 80f
1662
	 nop
1663
	ba,pt		%xcc, 80f
1664
	 stb		%g0, [%curptr + TI_SYS_NOERROR]
1662
	 stb		%g0, [%curptr + TI_SYS_NOERROR]
1665
1663
1666
1:
1667
	cmp		%o0, -ERESTART_RESTARTBLOCK
1664
	cmp		%o0, -ERESTART_RESTARTBLOCK
1668
	bgeu,pn		%xcc, 1f
1665
	bgeu,pn		%xcc, 1f
1669
	 andcc		%l0, (_TIF_SYSCALL_TRACE|_TIF_SECCOMP|_TIF_SYSCALL_AUDIT), %l6
1666
	 andcc		%l0, (_TIF_SYSCALL_TRACE|_TIF_SECCOMP|_TIF_SYSCALL_AUDIT), %l6

Return to bug 118551