add an inlined version of iter_div_u64_rem
commitd5e181f78ac753893eb930868a52a4488cd3de0a
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Thu, 12 Jun 2008 08:47:58 +0000 (12 10:47 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 12 Jun 2008 08:47:58 +0000 (12 10:47 +0200)
tree7d2f71fd3c84196f0d81a9e44861743b74e58ef6
parentf595ec964daf7f99668039d7303ddedd09a75142
add an inlined version of iter_div_u64_rem

iter_div_u64_rem is used in the x86-64 vdso, which cannot call other
kernel code.  For this case, provide the always_inlined version,
__iter_div_u64_rem.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/math64.h
lib/div64.c