ntp: use unsigned input for do_div()
authorDavid Howells <dhowells@redhat.com>
Mon, 25 Feb 2008 17:31:57 +0000 (18:31 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 9 Mar 2008 07:42:57 +0000 (08:42 +0100)
commite48af19f56eb47a1f908ee8f16df9d246f955b21
tree39a6769d80f125f6cfd4721a900e4b897ea15fbb
parent84c6f6046c5a2189160a8f0dca8b90427bf690ea
ntp: use unsigned input for do_div()

The kernel NTP code shouldn't hand 64-bit *signed* values to do_div().  Make it
instead hand 64-bit unsigned values.  This gets rid of a couple of warnings.

Signed-off-by: David Howells <dhowells@redhat.com>
Cc: Roman Zippel <zippel@linux-m68k.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: john stultz <johnstul@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/time/ntp.c