diff options
author | Richard Henderson <rth@twiddle.net> | 2013-07-18 23:47:37 +0200 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2013-07-19 22:54:25 +0200 |
commit | 91531b0535e5556783a7da900cc115b5fec8e63f (patch) | |
tree | 624142fe41eeac0c1f9faed32fc15c149eb5bc07 /arch/alpha | |
parent | alpha: Fix type compatibility warning for marvel_map_irq (diff) | |
download | linux-91531b0535e5556783a7da900cc115b5fec8e63f.tar.xz linux-91531b0535e5556783a7da900cc115b5fec8e63f.zip |
alpha: Use __builtin_alpha_rpcc
As introduced in gcc 3.2.
Signed-off-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'arch/alpha')
-rw-r--r-- | arch/alpha/kernel/time.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/alpha/kernel/time.c b/arch/alpha/kernel/time.c index e336694ca042..ea3395036556 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) |