Skip to contentSkip to conversation

PowerPC: kill cpu_khz reference

PATCH New Sergei Shtylyov 1 participant 1 message May 23, 2007 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 PowerPC: kill cpu_khz reference

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

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

arch/powerpc/kernel/time.c +0 -1
Index: 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();