summaryrefslogtreecommitdiffstats
path: root/arch/alpha/kernel/time.c
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2013-08-15 11:37:38 +0100
committerMark Brown <broonie@linaro.org>2013-08-15 11:37:38 +0100
commit743c5bb898be45009770c144e5e14e4f448e56b9 (patch)
tree40fff57c975f89da4a90922c165595840e99093a /arch/alpha/kernel/time.c
parent8fe120b5a665fc869c23f86e4964b801f6e53486 (diff)
parentb7ae6f31d8243ec684af16bc5c763eccdfabaec0 (diff)
Merge branch 'topic/dma' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-omap
Conflicts: sound/soc/omap/Kconfig
Diffstat (limited to 'arch/alpha/kernel/time.c')
-rw-r--r--arch/alpha/kernel/time.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/alpha/kernel/time.c b/arch/alpha/kernel/time.c
index e336694ca04..ea339503655 100644
--- a/arch/alpha/kernel/time.c
+++ b/arch/alpha/kernel/time.c
@@ -105,9 +105,7 @@ void arch_irq_work_raise(void)
static inline __u32 rpcc(void)
{
- __u32 result;
- asm volatile ("rpcc %0" : "=r"(result));
- return result;
+ return __builtin_alpha_rpcc();
}
int update_persistent_clock(struct timespec now)