convert a few do_div users
commit71abb3af62dfa52930755f3b6497eafbe1d6ec85
authorRoman Zippel <zippel@linux-m68k.org>
Thu, 1 May 2008 11:34:26 +0000 (1 04:34 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 1 May 2008 15:03:58 +0000 (1 08:03 -0700)
tree8e37f74017b800127538f6620820ea90b53169b5
parent2418f4f28f8467b92a6177af32d05737ebf6206c
convert a few do_div users

This converts a few users of do_div to div_[su]64 and this demonstrates nicely
how it can reduce some expressions to one-liners.

Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
Cc: john stultz <johnstul@us.ibm.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/time.c
kernel/time/ntp.c