include/linux/math64.h: add div64_ul()
authorAlex Shi <alex.shi@intel.com>
Wed, 12 Jun 2013 21:05:10 +0000 (14:05 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 12 Jun 2013 23:29:47 +0000 (16:29 -0700)
commitc2853c8df57f49620d26f317d7d43347c29bfc2e
tree4aa0a7f658e1db70c0f8e903cda95590bdb9b1c5
parent89dc991f0f5272c307c746fdd57d0bff382b1ba2
include/linux/math64.h: add div64_ul()

There is div64_long() to handle the s64/long division, but no mocro do
u64/ul division.  It is necessary in some scenarios, so add this
function.

[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Alex Shi <alex.shi@intel.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/math64.h