projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e406009
)
alpha: Use __builtin_alpha_rpcc
author
Richard Henderson
<rth@twiddle.net>
Thu, 18 Jul 2013 21:47:37 +0000
(14:47 -0700)
committer
Matt Turner
<mattst88@gmail.com>
Fri, 19 Jul 2013 20:54:25 +0000
(13:54 -0700)
As introduced in gcc 3.2.
Signed-off-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Richard Henderson <rth@twiddle.net>
arch/alpha/kernel/time.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/alpha/kernel/time.c
b/arch/alpha/kernel/time.c
index e336694ca042127c39a4cef780dee557b2f068cd..ea3395036556ceea61c74c08452d5e7a7061e566 100644
(file)
--- 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)