David S. Miller
e88d246871
sparc: Stash orig_i0 into %g6 instead of %g2
...
As per the comments added by this commit, %g2 turns out to not be a
usable place to save away orig_i0 for syscall restart handling.
In fact all of %g2, %g3, %g4, and %g5 are assumed to be saved across
a system call by various bits of code in glibc.
%g1 can't be used because that holds the syscall number, which would
need to be saved and restored for syscall restart handling too, and
that would only compound our problems :-)
This leaves us with %g6 and %g7 which are for "system use". %g7 is
used as the "thread register" by glibc, but %g6 is used as a compiler
and assembler temporary scratch register. And in no instance is %g6
used to hold a value across a system call.
Therefore %g6 is safe for storing away orig_i0, at least for now.
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-11-15 12:57:00 -08:00
..
2008-12-04 09:17:15 -08:00
2011-10-31 19:30:54 -04:00
2008-12-04 09:17:12 -08:00
2008-12-04 09:17:21 -08:00
2011-10-31 19:30:52 -04:00
2011-03-30 17:37:56 -07:00
2011-10-31 19:30:54 -04:00
2011-10-31 19:30:52 -04:00
2008-12-04 09:17:21 -08:00
2011-06-07 16:06:34 -07:00
2008-12-04 09:17:21 -08:00
2011-10-31 19:30:53 -04:00
2011-10-31 19:30:53 -04:00
2009-06-16 04:56:28 -07:00
2011-04-21 15:47:35 -07:00
2011-10-31 19:30:54 -04:00
2011-08-11 17:58:59 -07:00
2008-12-04 09:17:21 -08:00
2008-12-04 09:17:21 -08:00
2011-10-31 19:30:53 -04:00
2011-08-02 21:28:53 -07:00
2011-07-16 10:45:12 -07:00
2008-12-04 09:17:20 -08:00
2008-12-04 09:17:21 -08:00
2008-12-04 09:17:21 -08:00
2010-04-12 22:37:26 -07:00
2008-12-04 09:17:21 -08:00
2011-04-21 16:44:45 -07:00
2011-09-16 14:21:33 -07:00
2010-08-08 22:07:36 -07:00
2011-10-31 19:30:53 -04:00
2011-08-02 21:28:52 -07:00
2008-12-04 09:17:21 -08:00
2011-10-31 19:30:53 -04:00
2011-03-31 11:26:23 -03:00
2008-12-04 09:17:21 -08:00
2011-10-31 19:30:53 -04:00
2011-07-31 14:30:59 -10:00
2011-10-31 19:30:52 -04:00
2011-10-31 19:30:54 -04:00
2011-08-29 09:20:40 -07:00
2008-12-04 09:17:21 -08:00
2008-12-04 09:17:21 -08:00
2011-10-25 11:54:26 -07:00
2011-08-02 21:28:52 -07:00
2010-05-20 21:04:19 -05:00
2010-05-20 21:04:19 -05:00
2010-03-30 22:02:32 +09:00
2010-04-14 02:04:29 -07:00
2011-08-05 00:53:57 -07:00
2011-10-31 19:30:53 -04:00
2010-03-30 22:02:32 +09:00
2011-10-31 19:30:54 -04:00
2011-10-31 19:30:53 -04:00
2011-10-31 19:30:52 -04:00
2011-03-16 18:19:04 -07:00
2011-07-26 16:49:47 -07:00
2011-08-20 17:14:54 -07:00
2011-10-31 19:30:52 -04:00
2008-12-04 09:17:21 -08:00
2011-07-24 22:06:04 +09:30
2009-01-02 19:32:59 -08:00
2011-10-31 19:30:53 -04:00
2011-10-31 19:30:54 -04:00
2011-10-31 19:30:53 -04:00
2011-10-31 19:30:53 -04:00
2009-06-16 04:56:49 -07:00
2011-06-07 16:06:34 -07:00
2011-10-31 19:30:52 -04:00
2011-03-16 18:19:03 -07:00
2011-05-16 13:38:07 -07:00
2011-10-31 19:30:52 -04:00
2011-10-31 19:30:52 -04:00
2011-10-31 19:30:52 -04:00
2008-12-04 09:17:21 -08:00
2011-10-31 19:30:52 -04:00
2008-12-04 09:17:21 -08:00
2011-10-31 19:30:53 -04:00
2011-10-31 19:30:52 -04:00
2011-10-31 19:30:53 -04:00
2011-07-27 22:10:10 -07:00
2011-10-31 19:30:54 -04:00
2011-10-31 19:30:53 -04:00
2011-09-20 23:12:42 -07:00
2011-10-31 19:30:53 -04:00
2011-10-31 19:30:54 -04:00
2011-10-31 19:30:54 -04:00
2011-10-31 19:30:53 -04:00
2011-06-07 16:06:34 -07:00
2010-10-10 21:53:30 -06:00
2011-06-07 16:06:34 -07:00
2010-07-24 09:58:22 -06:00
2010-10-27 18:03:12 -07:00
2011-03-16 18:19:15 -07:00
2011-10-31 19:30:53 -04:00
2010-10-26 08:59:55 -07:00
2010-10-26 08:59:55 -07:00
2011-10-31 19:30:52 -04:00
2011-10-31 19:30:52 -04:00
2011-09-21 12:48:06 -07:00
2011-11-15 12:57:00 -08:00
2011-11-15 12:57:00 -08:00
2011-11-15 12:57:00 -08:00
2011-08-20 17:14:54 -07:00
2011-11-13 20:53:25 -08:00
2011-08-20 17:14:54 -07:00
2011-07-26 16:49:47 -07:00
2011-10-31 19:30:53 -04:00
2009-01-08 16:59:01 -08:00
2011-10-31 19:30:53 -04:00
2008-12-04 09:17:21 -08:00
2011-08-02 21:28:52 -07:00
2011-10-31 19:30:53 -04:00
2011-01-03 20:02:06 -07:00
2011-04-19 22:11:40 -07:00
2011-06-07 16:06:33 -07:00
2011-05-16 13:38:07 -07:00
2011-04-19 22:11:40 -07:00
2011-05-16 13:38:07 -07:00
2008-12-04 09:17:21 -08:00
2008-12-04 09:17:21 -08:00
2011-08-26 15:09:58 -07:00
2011-10-31 19:30:54 -04:00
2010-11-17 08:59:32 -08:00
2011-10-31 19:30:53 -04:00
2010-03-03 08:08:49 -08:00
2011-05-16 13:38:07 -07:00
2011-11-01 00:51:30 -07:00
2011-11-01 00:51:30 -07:00
2010-03-12 15:52:32 -08:00
2010-10-09 02:33:34 -06:00
2011-05-20 12:59:54 -07:00
2011-10-31 19:30:53 -04:00
2009-11-02 04:19:42 -08:00
2008-12-04 09:17:21 -08:00
2011-10-31 19:30:52 -04:00
2011-06-07 16:06:34 -07:00
2010-02-19 15:19:52 -08:00
2010-06-25 11:17:57 -07:00
2011-02-01 12:39:59 -08:00
2011-03-16 18:19:15 -07:00
2011-10-31 19:30:54 -04:00
2011-08-02 21:28:50 -07:00
2011-06-07 16:06:34 -07:00
2011-06-07 16:06:34 -07:00
2008-12-04 09:17:21 -08:00
2011-10-31 19:30:52 -04:00
2011-10-31 19:30:53 -04:00
2011-10-31 01:05:49 -07:00
2011-08-05 00:53:57 -07:00
2010-11-17 08:59:32 -08:00
2008-12-04 09:17:21 -08:00
2008-07-17 21:37:46 -07:00
2008-07-17 21:37:46 -07:00