Al Viro 40138249c3 sparc64: Rearrange thread info to cheaply clear syscall noerror state.
After fixing a couple of brainos, it even seems to work.  What's done here
is move of ->syscall_noerror right before FPDEPTH byte in ->flags and
using sth to [%g6 + TI_SYS_NOERROR] instead of stb to [%g6 + TI_FPDEPTH] in
both branches of etrap_save.  AFAICS, that ought to be solid.  Again,
deciding what to do with now unused delay slot of branch on ->syscall_noerror
and dealing with the order of tests in ret_from_sys is a separate question,
but at least that way we don't have to clean ->syscall_noerror in there at
all.  AFAICS, it ought to be a clear win - sth is not going to cost more than
stb on etrap_64.S side of things, and we are losing write on syscalls.S one.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-10-04 14:13:29 -07:00
..
2011-06-07 16:06:34 -07:00
2012-05-27 23:52:45 -07:00
2012-05-11 19:27:46 -07:00
2012-07-26 16:46:15 -07:00
2012-03-28 16:36:34 +02:00
2012-05-27 23:52:44 -07:00
2012-05-14 14:05:09 -07:00
2012-03-28 18:30:03 +01:00
2012-07-26 16:46:16 -07:00
2012-08-18 23:26:19 -07:00
2012-03-28 18:30:03 +01:00
2012-06-01 12:58:52 -04:00
2012-06-01 12:58:52 -04:00
2012-06-01 12:58:52 -04:00
2012-06-24 11:03:52 -07:00
2012-03-28 18:30:03 +01:00