diff options
Diffstat (limited to 'arch/alpha/kernel/time.c')
-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) | |||
105 | 105 | ||
106 | static inline __u32 rpcc(void) | 106 | static inline __u32 rpcc(void) |
107 | { | 107 | { |
108 | __u32 result; | 108 | return __builtin_alpha_rpcc(); |
109 | asm volatile ("rpcc %0" : "=r"(result)); | ||
110 | return result; | ||
111 | } | 109 | } |
112 | 110 | ||
113 | int update_persistent_clock(struct timespec now) | 111 | int update_persistent_clock(struct timespec now) |