On Thu, Feb 01, 2007 at 03:54:40PM +0100, Franck Bui-Huu wrote: > Let's take for example sys_sigreturn(). In my understanding this > syscall is used automatically when the signal handler returns. At this > time, I don't see the point to save the static registers since they > have been already saved by setup_sigcontext(). > > Actually I don't see why they need to be saved/restored at all... There is no need. Seems you found a harmless but longstanding but introduced by c40738a70f3e02e8554b78af334dc95356a78989. Ralf