提交 91531b05 编写于 作者: R Richard Henderson 提交者: Matt Turner

alpha: Use __builtin_alpha_rpcc

As introduced in gcc 3.2.
Signed-off-by: NMatt Turner <mattst88@gmail.com>
Signed-off-by: NRichard Henderson <rth@twiddle.net>
上级 e4060099
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册