summaryrefslogtreecommitdiff
path: root/arch/m32r
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2013-01-28 21:20:34 +0400
committerStephen Warren <swarren@nvidia.com>2013-01-28 21:20:34 +0400
commitf3dab3989b4282e448cba0f0708934276dcb413a (patch)
treeed79658afd978b1e52ace0fb58d1628b79c0f78b /arch/m32r
parent9931faca02c604c22335f5a935a501bb2ace6e20 (diff)
parent90cf214d6a549bf482e3c5751ee256cc885b96ea (diff)
downloadlinux-f3dab3989b4282e448cba0f0708934276dcb413a.tar.xz
Merge remote-tracking branch 'korg_arm-soc/timer/cleanup' into for-3.9/cleanup
Diffstat (limited to 'arch/m32r')
-rw-r--r--arch/m32r/kernel/time.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/m32r/kernel/time.c b/arch/m32r/kernel/time.c
index 84dd04048db9..1a15f81ea1bd 100644
--- a/arch/m32r/kernel/time.c
+++ b/arch/m32r/kernel/time.c
@@ -57,7 +57,7 @@ extern void smp_local_timer_interrupt(void);
static unsigned long latch;
-u32 arch_gettimeoffset(void)
+static u32 m32r_gettimeoffset(void)
{
unsigned long elapsed_time = 0; /* [us] */
@@ -165,6 +165,8 @@ void read_persistent_clock(struct timespec *ts)
void __init time_init(void)
{
+ arch_gettimeoffset = m32r_gettimeoffset;
+
#if defined(CONFIG_CHIP_M32102) || defined(CONFIG_CHIP_XNUX2) \
|| defined(CONFIG_CHIP_VDEC2) || defined(CONFIG_CHIP_M32700) \
|| defined(CONFIG_CHIP_OPSP) || defined(CONFIG_CHIP_M32104)