[PATCH 2.6.21-rt7] PowerPC: kill cpu_khz reference

Sergei Shtylyov sshtylyov at ru.mvista.com
Thu May 24 06:02:00 EST 2007


Remove forgotten reference to 'cpu_khz' which have been removed for PowerPC in
2.6.21-rt7...

Signed-off-by: Sergei Shtylyov <sshtylyov at ru.mvista.com>

---
The irony here is that it was me who sent a patch to add that line. :-)

Index: linux-2.6/arch/powerpc/kernel/time.c
===================================================================
--- linux-2.6.orig/arch/powerpc/kernel/time.c
+++ linux-2.6/arch/powerpc/kernel/time.c
@@ -816,7 +816,6 @@ void __init time_init(void)
 	tb_ticks_per_jiffy = ppc_tb_freq / HZ;
 	tb_ticks_per_sec = ppc_tb_freq;
 	tb_ticks_per_usec = ppc_tb_freq / 1000000;
-	cpu_khz  = ppc_tb_freq / 1000;
 	tb_to_us = mulhwu_scale_factor(ppc_tb_freq, 1000000);
 	calc_cputime_factors();
 




More information about the Linuxppc-dev mailing list