]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
powerpc/time: Use clocksource_register_hz
authorAnton Blanchard <anton@samba.org>
Wed, 23 Nov 2011 20:07:19 +0000 (20:07 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 25 Nov 2011 03:09:59 +0000 (14:09 +1100)
commit11b8633ada8633991e584951d0027f2741162201
treea2a80c0df9f0fc500682d1b7a4d62a26d8dd2921
parentd8afc6fd95496204174f19af0cb39eefee0c3e8a
powerpc/time: Use clocksource_register_hz

Use clocksource_register_hz which calculates the shift/mult
factors for us. Also remove the shift = 22 assumption in
vsyscall_update - thanks to Paul Mackerras and John Stultz for
catching that.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/time.c