]> git.baikalelectronics.ru Git - kernel.git/commit
add an inlined version of iter_div_u64_rem
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Thu, 12 Jun 2008 08:47:58 +0000 (10:47 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 12 Jun 2008 08:47:58 +0000 (10:47 +0200)
commite57290972b0432c172b84d67fec4ebd330d0f775
tree7d2f71fd3c84196f0d81a9e44861743b74e58ef6
parent5a0cd4db352408011a705019d62cc4a73f4a9c4a
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