* Flag T-bit for syscall restart
@ 2008-12-27 3:02 SUGIOKA Toshinobu
2008-12-27 5:25 ` Paul Mundt
2008-12-30 0:10 ` Kaz Kojima
0 siblings, 2 replies; 3+ messages in thread
From: SUGIOKA Toshinobu @ 2008-12-27 3:02 UTC (permalink / raw)
To: linux-sh
Hi,
Could someone explain me about the patch
http://kerneltrap.org/mailarchive/git-commits-head/2008/10/20/3733624
I can't understand why T-bit(regs->sr & 1) is used
as the condition about restarting syscall at the last hunk.
Thanks.
SUGIOKA Toshinobu
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Flag T-bit for syscall restart
2008-12-27 3:02 Flag T-bit for syscall restart SUGIOKA Toshinobu
@ 2008-12-27 5:25 ` Paul Mundt
2008-12-30 0:10 ` Kaz Kojima
1 sibling, 0 replies; 3+ messages in thread
From: Paul Mundt @ 2008-12-27 5:25 UTC (permalink / raw)
To: linux-sh
On Sat, Dec 27, 2008 at 12:02:01PM +0900, SUGIOKA Toshinobu wrote:
> Hi,
>
> Could someone explain me about the patch
> http://kerneltrap.org/mailarchive/git-commits-head/2008/10/20/3733624
>
> I can't understand why T-bit(regs->sr & 1) is used
> as the condition about restarting syscall at the last hunk.
>
Look at arch/sh/include/asm/syscall_32.h, it is used for syscall error
detection by the regset interface.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Flag T-bit for syscall restart
2008-12-27 3:02 Flag T-bit for syscall restart SUGIOKA Toshinobu
2008-12-27 5:25 ` Paul Mundt
@ 2008-12-30 0:10 ` Kaz Kojima
1 sibling, 0 replies; 3+ messages in thread
From: Kaz Kojima @ 2008-12-30 0:10 UTC (permalink / raw)
To: linux-sh
Paul Mundt <lethal@linux-sh.org> wrote:
> On Sat, Dec 27, 2008 at 12:02:01PM +0900, SUGIOKA Toshinobu wrote:
>> Hi,
>>
>> Could someone explain me about the patch
>> http://kerneltrap.org/mailarchive/git-commits-head/2008/10/20/3733624
>>
>> I can't understand why T-bit(regs->sr & 1) is used
>> as the condition about restarting syscall at the last hunk.
>>
> Look at arch/sh/include/asm/syscall_32.h, it is used for syscall error
> detection by the regset interface.
BTW, I've missed this change for a while. It means that now T
register is clobbered with syscalls, right? If so, the clobber
list of the asm statements for syscall in the userland should be
updated, for example.
Regards,
kaz
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-12-30 0:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-27 3:02 Flag T-bit for syscall restart SUGIOKA Toshinobu
2008-12-27 5:25 ` Paul Mundt
2008-12-30 0:10 ` Kaz Kojima
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.