Files
kernel_arpi/include/linux
john stultz 1bb34a4127 [PATCH] NTP shift_right cleanup
Create a macro shift_right() that avoids the numerous ugly conditionals in the
NTP code that look like:

        if(a < 0)
                b = -(-a >> shift);
        else
                b = a >> shift;

Replacing it with:

        b = shift_right(a, shift);

This should have zero effect on the logic, however it should probably have
a bit of testing just to be sure.

Also replace open-coded min/max with the macros.

Signed-off-by : John Stultz <johnstul@us.ibm.com>

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-10-30 17:37:18 -08:00
..
2005-09-13 08:22:31 -07:00
2005-10-18 23:19:47 -07:00
2005-10-17 17:03:57 -07:00
2005-10-22 14:27:05 -04:00
2005-10-28 08:16:49 -07:00
2005-10-04 13:22:01 -07:00
2005-10-28 08:16:47 -07:00
2005-09-10 10:06:21 -07:00
2005-09-10 10:16:27 -07:00
2005-10-30 17:37:10 -08:00
2005-10-29 02:23:58 -02:00
2005-09-13 08:22:32 -07:00
2005-09-09 13:57:55 -07:00
2005-09-13 08:22:32 -07:00
2005-10-28 08:16:47 -07:00
2005-10-28 10:13:16 -07:00
2005-10-28 08:16:46 -07:00
2005-10-28 10:13:16 -07:00
2005-10-29 19:32:20 +01:00
2005-10-28 08:16:47 -07:00
2005-09-19 15:41:28 -07:00
2005-10-03 14:13:38 -07:00
2005-10-28 08:16:47 -07:00
2005-09-17 11:50:02 -07:00
2005-10-08 15:00:57 -07:00
2005-10-28 08:16:47 -07:00
2005-10-30 17:37:17 -08:00
2005-10-28 08:16:47 -07:00
2005-09-14 08:46:21 -04:00
2005-10-28 08:16:51 -07:00
2005-09-13 08:22:31 -07:00
2005-10-28 08:16:47 -07:00
2005-09-09 13:57:54 -07:00
2005-10-28 08:16:47 -07:00
2005-10-29 21:40:41 -07:00
2005-10-30 11:14:39 +11:00
2005-10-29 21:40:42 -07:00
2005-10-28 08:16:47 -07:00
2005-09-10 10:06:21 -07:00
2005-10-28 08:16:47 -07:00
2005-10-28 08:16:47 -07:00
2005-09-18 00:18:32 -07:00
2005-09-10 10:06:36 -07:00
2005-10-30 17:37:17 -08:00
2005-10-30 17:37:18 -08:00
2005-09-09 13:57:58 -07:00
2005-10-28 08:16:46 -07:00
2005-10-28 08:16:49 -07:00
2005-10-29 21:40:35 -07:00