提交 6f5374c9 编写于 作者: D David S. Miller

[SPARC64]: Add sun4v_cpu_yield().

Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 1bd0cd74
......@@ -1786,3 +1786,12 @@ sun4v_cpu_qconf:
ta HV_FAST_TRAP
retl
nop
/* returns %o0: status
*/
.globl sun4v_cpu_yield
sun4v_cpu_yield:
mov HV_FAST_CPU_YIELD, %o5
ta HV_FAST_TRAP
retl
nop
......@@ -258,6 +258,9 @@
*/
#define HV_FAST_CPU_YIELD 0x12
#ifndef __ASSEMBLY__
extern unsigned long sun4v_cpu_yield(void);
#endif
/* cpu_qconf()
* TRAP: HV_FAST_TRAP
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册