From mboxrd@z Thu Jan 1 00:00:00 1970 From: olof@lixom.net (Olof Johansson) Date: Tue, 21 Dec 2010 23:23:58 -0800 Subject: [PATCH 33/40] ARM: tegra: convert sched_clock() to use new infrastructure In-Reply-To: References: <20101217113223.GC9937@n2100.arm.linux.org.uk> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi, On Fri, Dec 17, 2010 at 3:49 AM, Russell King - ARM Linux wrote: > Convert tegra to use the new sched_clock() infrastructure for extending > 32bit counters to full 64-bit nanoseconds. > > Signed-off-by: Russell King > --- > ?arch/arm/Kconfig ? ? ? ? ? ?| ? ?1 + > ?arch/arm/mach-tegra/timer.c | ? 22 ++++++++++++++++++++-- > ?2 files changed, 21 insertions(+), 2 deletions(-) > > diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig > index 0e1a966..ec7b027 100644 > --- a/arch/arm/Kconfig > +++ b/arch/arm/Kconfig > @@ -570,6 +570,7 @@ config ARCH_TEGRA > ? ? ? ?select GENERIC_CLOCKEVENTS > ? ? ? ?select GENERIC_GPIO > ? ? ? ?select HAVE_CLK > + ? ? ? select HAVE_SCHED_CLOCK > ? ? ? ?select COMMON_CLKDEV > ? ? ? ?select ARCH_HAS_BARRIERS if CACHE_L2X0 > ? ? ? ?select ARCH_HAS_CPUFREQ > diff --git a/arch/arm/mach-tegra/timer.c b/arch/arm/mach-tegra/timer.c > index c52bd84..b5f86dd 100644 > --- a/arch/arm/mach-tegra/timer.c > +++ b/arch/arm/mach-tegra/timer.c > @@ -26,7 +26,6 @@ > ?#include > ?#include > ?#include > -#include > > ?#include > ?#include This needs: #include (for DEFINE_CLOCK_DATA and other declarations) -Olof