John Stultz
c7dcf87a68
time: Workaround gcc loop optimization that causes 64bit div errors
...
Early 4.3 versions of gcc apparently aggressively optimize the raw
time accumulation loop, replacing it with a divide.
On 32bit systems, this causes the following link errors:
undefined reference to `__umoddi3'
undefined reference to `__udivdi3'
The gcc issue has been fixed in 4.4 and greater.
This patch replaces the accumulation loop with a do_div, as suggested
by Linus.
Signed-off-by: John Stultz <johnstul@us.ibm.com>
CC: Jason Wessel <jason.wessel@windriver.com>
CC: Larry Finger <Larry.Finger@lwfinger.net>
CC: Ingo Molnar <mingo@elte.hu>
CC: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-08-13 12:03:24 -07:00
..
2010-08-06 13:18:29 -07:00
2010-07-29 13:24:57 +02:00
2010-08-10 15:22:42 -07:00
2010-08-13 12:03:24 -07:00
2010-08-12 08:43:30 -07:00
2010-08-09 16:48:42 -04:00
2010-07-14 11:29:46 +02:00
2010-07-28 10:18:55 -04:00
2010-08-12 14:23:04 -07:00
2010-08-10 11:39:13 -07:00
2010-07-28 09:58:19 -04:00
2010-07-28 09:58:17 -04:00
2010-08-11 00:28:20 -04:00
2010-04-02 20:12:00 +02:00
2010-05-10 23:18:47 +02:00
2010-08-11 08:59:18 -07:00
2010-07-16 09:48:48 +02:00
2010-06-08 21:40:36 +02:00
2010-08-06 09:39:22 -07:00
2010-08-12 09:51:35 -07:00
2010-07-19 11:54:15 +01:00
2010-08-09 20:45:05 -07:00
2010-08-11 08:59:19 -07:00
2010-08-09 20:45:02 -07:00
2010-06-30 15:43:44 -07:00
2010-04-12 12:19:18 +10:00
2010-08-06 13:18:29 -07:00
2010-08-06 09:30:52 -07:00
2010-05-20 21:04:21 -05:00
2010-08-11 08:59:22 -07:00
2010-08-12 08:43:29 -07:00
2010-05-27 09:12:45 -07:00
2010-05-08 18:08:30 +02:00
2010-05-21 09:37:31 -07:00
2010-06-29 10:07:09 +02:00
2010-05-04 05:38:16 +02:00
2010-04-06 00:15:37 +02:00
2010-06-09 10:34:49 +02:00
2010-08-10 11:39:13 -07:00
2010-08-05 12:59:13 +09:30
2010-05-19 08:18:44 +02:00
2010-08-04 15:23:14 -07:00
2010-08-11 08:59:22 -07:00
2010-08-11 23:04:20 +09:30
2010-08-06 09:39:22 -07:00
2010-08-11 08:59:20 -07:00
2010-07-19 02:00:34 +02:00
2010-08-10 12:07:51 -07:00
2010-07-23 15:08:12 +02:00
2010-08-09 20:45:06 -07:00
2010-05-27 09:12:57 -07:00
2010-08-11 08:59:19 -07:00
2010-08-09 20:45:06 -07:00
2010-06-14 16:37:26 -07:00
2010-05-10 11:08:34 -07:00
2010-06-14 16:37:26 -07:00
2010-06-09 10:34:49 +02:00
2010-05-11 16:10:47 -07:00
2010-05-10 11:08:35 -07:00
2010-06-14 16:37:26 -07:00
2010-05-10 11:08:35 -07:00
2010-05-27 09:12:48 -07:00
2010-05-11 12:01:10 -07:00
2010-06-09 10:34:49 +02:00
2010-07-17 12:06:22 +02:00
2010-07-17 12:06:22 +02:00
2010-07-21 21:46:12 +02:00
2010-07-21 21:45:08 +02:00
2010-04-23 11:02:02 +02:00
2010-06-18 10:46:56 +02:00
2010-06-18 10:46:56 +02:00
2010-08-06 09:39:22 -07:00
2010-08-04 11:17:10 -07:00
2010-05-27 09:12:48 -07:00
2010-06-04 15:21:45 -07:00
2010-08-09 20:45:06 -07:00
2010-07-28 09:58:55 -04:00
2010-07-16 09:48:48 +02:00
2010-05-25 08:07:05 -07:00
2010-08-10 11:39:13 -07:00
2010-07-27 12:40:54 +02:00
2010-08-10 15:33:09 -07:00
2010-05-14 09:50:34 -04:00
2010-06-16 14:55:34 -07:00
2010-05-10 08:48:39 +02:00
2010-07-07 08:46:42 +02:00
2010-06-29 10:07:14 +02:00
2010-08-09 11:50:34 +02:00