android_kernel_motorola_sm6225/arch/x86_64/lib
Paolo 'Blaisorblade' Giarrusso b9a8d94a47 [PATCH] x86-64: Make x86_64 udelay() round up instead of down.
Port two patches from i386 to x86_64 delay.c to make sure all rounding is done
upward instead of downward.

There is no sign in commit messages that the mismatch was done on purpose, and
"delay() guarantees sleeping at least for the specified time" is still a valid
rule IMHO.

The original x86 patches are both from pre-GIT era, i.e.:

"[PATCH] round up  in __udelay()" in commit
54c7e1f5cc6771ff644d7bc21a2b829308bd126f

"[PATCH] add 1 in __const_udelay()" in commit
42c77a9801b8877d8b90f65f75db758822a0bccc

(both commits are from converted BK repository to x86_64).

AK: fixed gcc warning

linux/arch/x86_64/lib/delay.c:43: warning: suggest parentheses around + or - inside shift
(did this actually work?)

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andi Kleen <ak@suse.de>
2006-12-07 02:14:07 +01:00
..
bitops.c [PATCH] x86-64: bitops fix for -Os 2005-11-02 19:41:32 -08:00
bitstr.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
clear_page.S [PATCH] annotate arch/x86_64/lib/*.S 2006-09-26 10:52:32 +02:00
copy_page.S Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
copy_user.S [PATCH] Fix zeroing on exception in copy_*_user 2006-09-26 10:52:39 +02:00
csum-copy.S [PATCH] annotate arch/x86_64/lib/*.S 2006-09-26 10:52:32 +02:00
csum-partial.c [NET]: X86_64 checksum annotations and cleanups. 2006-12-02 21:23:14 -08:00
csum-wrappers.c [NET]: X86_64 checksum annotations and cleanups. 2006-12-02 21:23:14 -08:00
delay.c [PATCH] x86-64: Make x86_64 udelay() round up instead of down. 2006-12-07 02:14:07 +01:00
getuser.S [PATCH] annotate arch/x86_64/lib/*.S 2006-09-26 10:52:32 +02:00
io.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
iomap_copy.S [PATCH] annotate arch/x86_64/lib/*.S 2006-09-26 10:52:32 +02:00
Makefile [PATCH] Clean up read write lock assembly 2006-09-26 10:52:28 +02:00
memcpy.S Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
memmove.c [PATCH] x86_64: Minor string functions optimizations 2006-06-26 10:48:22 -07:00
memset.S Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
putuser.S [PATCH] annotate arch/x86_64/lib/*.S 2006-09-26 10:52:32 +02:00
rwlock.S [PATCH] Clean up read write lock assembly 2006-09-26 10:52:28 +02:00
thunk.S Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
usercopy.c [PATCH] x86_64: Minor string functions optimizations 2006-06-26 10:48:22 -07:00