From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from imap.sh.mvista.com (unknown [63.81.120.155]) by ozlabs.org (Postfix) with ESMTP id ECAEDDDE06 for ; Thu, 24 May 2007 06:00:34 +1000 (EST) From: Sergei Shtylyov To: mingo@elte.hu, tglx@linutronix.de Subject: [PATCH 2.6.21-rt7] PowerPC: kill cpu_khz reference Date: Wed, 23 May 2007 23:02:00 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Message-Id: <200705240002.00698.sshtylyov@ru.mvista.com> Cc: linuxppc-dev@ozlabs.org, linux-kernel@vger.kernel.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Remove forgotten reference to 'cpu_khz' which have been removed for PowerPC in 2.6.21-rt7... Signed-off-by: Sergei Shtylyov --- 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();