Will Schmidt
fde937d826
Fix VDSO gettimeofday() when called with NULL struct timeval.
...
The vdso64 portion of patch 74609f4536f2b8fd6a48381bbbe3cd37da20a527 for
fixing problems with NULL gettimeofday input mistakenly checks for a
null tz field twice, when it should be checking for null tz once, and
null tv once; by way of a r10/r11 typo.
Any application calling gettimeofday(&tv,NULL) will "fail".
This corrects that typo, and makes my G5 happy.
Tested on G5.
Signed-off-by: Will Schmidt <will_schmidt@vnet.ibm.com>
Cc: Tony Breeds <tony@bakeyournoodle.com>
Forwarded-by: Ben Herrenschmidt <benh@kernel.crashing.org>
[ Ben says: "I checked the 32 bits part of the change is correct. You
can probably blame me for originally writing the 2 versions with
inversed usage of r10 and r11, thus confusing Tony :-)"
Ben duly blamed. - Linus ]
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-06-29 21:27:00 -07:00
..
2007-06-26 14:41:19 +10:00
2007-06-29 21:27:00 -07:00
2007-04-13 04:09:38 +10:00
2007-05-09 12:56:01 -07:00
2007-05-11 05:38:25 -04:00
2006-06-30 19:25:36 +02:00
2007-04-13 03:55:19 +10:00
2007-05-11 05:38:25 -04:00
2006-06-30 19:25:36 +02:00
2007-04-24 21:31:49 +10:00
2006-10-16 16:32:25 +10:00
2007-05-22 20:20:56 +10:00
2006-08-08 17:07:04 +10:00
2006-12-07 08:39:46 -08:00
2006-12-04 20:38:59 +11:00
2007-05-17 21:10:15 +10:00
2007-02-07 14:03:23 +11:00
2006-06-30 19:25:36 +02:00
2006-08-30 14:45:35 +10:00
2006-06-30 19:25:36 +02:00
2006-06-30 19:25:36 +02:00
2007-01-24 21:13:58 +11:00
2007-05-08 14:47:33 +10:00
2007-04-24 22:06:59 +10:00
2006-02-10 16:51:50 +11:00
2007-02-13 16:13:27 -06:00
2007-04-13 06:12:42 +10:00
2006-06-30 19:25:36 +02:00
2007-05-07 20:31:13 +10:00
2007-05-07 20:31:14 +10:00
2006-10-02 07:57:20 -07:00
2006-12-04 20:39:05 +11:00
2007-01-26 01:52:27 -06:00
2007-04-26 19:48:15 +10:00
2007-06-02 21:01:56 +10:00
2007-05-08 11:50:19 -07:00
2006-06-30 19:25:36 +02:00
2007-05-08 13:37:51 +10:00
2007-04-27 21:13:21 +10:00
2007-05-09 16:34:59 +10:00
2006-06-26 18:57:34 +02:00
2007-04-13 03:55:19 +10:00
2006-08-17 16:41:10 +10:00
2007-05-08 13:40:31 +10:00
2007-03-22 22:52:58 +11:00
2007-02-07 14:03:22 +11:00
2006-09-20 14:06:18 +10:00
2007-01-24 21:13:58 +11:00
2006-12-11 16:35:07 +11:00
2007-05-08 13:40:31 +10:00
2007-02-12 09:48:44 -08:00
2007-05-07 20:31:15 +10:00
2007-06-07 11:44:40 +10:00
2006-08-08 17:08:56 +10:00
2007-05-02 20:04:30 +10:00
2007-05-17 21:11:14 +10:00
2007-04-13 03:55:19 +10:00
2007-05-22 20:20:56 +10:00
2005-11-03 16:03:28 +11:00
2007-05-02 20:04:32 +10:00
2007-02-12 09:48:44 -08:00
2007-05-08 11:15:07 -07:00
2007-05-08 13:40:31 +10:00
2007-05-12 11:32:48 +10:00
2007-06-02 21:01:55 +10:00
2006-06-30 19:25:36 +02:00
2006-06-30 19:25:36 +02:00
2007-06-02 21:01:55 +10:00
2007-02-12 09:48:44 -08:00
2007-04-13 03:55:19 +10:00
2007-05-17 21:11:15 +10:00
2006-06-09 21:21:06 +10:00
2007-04-24 22:08:59 +10:00
2005-09-26 16:04:21 +10:00
2007-04-13 03:55:16 +10:00
2007-05-02 19:27:12 +02:00
2007-05-12 11:32:50 +10:00
2006-05-19 15:02:12 +10:00
2007-05-08 11:15:07 -07:00
2007-06-26 14:49:11 +10:00
2006-12-04 20:42:09 +11:00
2007-05-22 20:20:56 +10:00
2007-05-02 19:27:07 +02:00
2006-09-26 08:49:01 -07:00
2007-05-07 20:31:14 +10:00
2007-05-07 20:31:14 +10:00
2007-05-11 08:29:34 -07:00
2007-06-28 11:38:30 -07:00
2007-05-08 11:15:07 -07:00
2007-05-09 12:30:56 -07:00
2006-06-30 19:25:36 +02:00
2006-06-30 19:25:36 +02:00
2007-05-12 11:32:47 +10:00
2007-05-08 11:15:04 -07:00
2007-05-08 14:47:33 +10:00
2007-06-14 11:56:17 +10:00
2007-05-08 11:15:07 -07:00
2005-09-21 19:21:07 +10:00
2006-06-30 19:25:36 +02:00
2007-05-08 13:37:51 +10:00
2007-05-22 20:20:56 +10:00