aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ppc64/kernel/setup.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2005-06-22 19:43:07 -0400
committerPaul Mackerras <paulus@samba.org>2005-06-22 19:43:07 -0400
commit10f7e7c15e6ce41799c5dba6925ae4bf8048c870 (patch)
tree505c9834749cd59bd8a075db7577c3b26a002f92 /arch/ppc64/kernel/setup.c
parenta4936044001694f033fe4ea94d6034d51a6b465c (diff)
[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>
Diffstat (limited to 'arch/ppc64/kernel/setup.c')
-rw-r--r--arch/ppc64/kernel/setup.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/ppc64/kernel/setup.c b/arch/ppc64/kernel/setup.c
index 8e439a817642..93b0ee88cda1 100644
--- a/arch/ppc64/kernel/setup.c
+++ b/arch/ppc64/kernel/setup.c
@@ -701,9 +701,6 @@ void machine_halt(void)
701 701
702EXPORT_SYMBOL(machine_halt); 702EXPORT_SYMBOL(machine_halt);
703 703
704unsigned long ppc_proc_freq;
705unsigned long ppc_tb_freq;
706
707static int ppc64_panic_event(struct notifier_block *this, 704static int ppc64_panic_event(struct notifier_block *this,
708 unsigned long event, void *ptr) 705 unsigned long event, void *ptr)
709{ 706{
@@ -1117,7 +1114,7 @@ void ppc64_dump_msg(unsigned int src, const char *msg)
1117} 1114}
1118 1115
1119/* This should only be called on processor 0 during calibrate decr */ 1116/* This should only be called on processor 0 during calibrate decr */
1120void setup_default_decr(void) 1117void __init setup_default_decr(void)
1121{ 1118{
1122 struct paca_struct *lpaca = get_paca(); 1119 struct paca_struct *lpaca = get_paca();
1123 1120