]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[PATCH] ppc64: consolidate calibrate_decr implementations
authorArnd Bergmann <arnd@arndb.de>
Wed, 22 Jun 2005 23:43:07 +0000 (09:43 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 22 Jun 2005 23:43:07 +0000 (09:43 +1000)
commit10f7e7c15e6ce41799c5dba6925ae4bf8048c870
tree505c9834749cd59bd8a075db7577c3b26a002f92
parenta4936044001694f033fe4ea94d6034d51a6b465c
[PATCH] ppc64: consolidate calibrate_decr implementations

pSeries and maple have almost the same code for calibrate_decr,
and BPA would need yet another copy. Instead, I'm moving the
code to arch/ppc64/kernel/time.c.

Some of the related declarations were missing from header
files, so I'm moving those as well.

It makes sense to merge this with the pmac function of the
same name, so we end up having just one implemetation for
iSeries and one for Open Firmware based machines.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/ppc64/kernel/iSeries_setup.c
arch/ppc64/kernel/maple_setup.c
arch/ppc64/kernel/maple_time.c
arch/ppc64/kernel/pSeries_setup.c
arch/ppc64/kernel/pmac_time.c
arch/ppc64/kernel/setup.c
arch/ppc64/kernel/time.c
include/asm-ppc64/time.h