diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-02-21 15:42:09 -0800 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-03-20 01:13:52 -0800 |
commit | 6f5374c91f0dd1d92408ed44c066c32bcce5ce69 (patch) | |
tree | e5d2ade79d39f043af66030c42d2410d1cd6f483 /arch | |
parent | 1bd0cd74d102a527b2a72907698d73fad4b82cbd (diff) | |
download | op-kernel-dev-6f5374c91f0dd1d92408ed44c066c32bcce5ce69.zip op-kernel-dev-6f5374c91f0dd1d92408ed44c066c32bcce5ce69.tar.gz |
[SPARC64]: Add sun4v_cpu_yield().
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sparc64/kernel/entry.S | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/sparc64/kernel/entry.S b/arch/sparc64/kernel/entry.S index bd332e4..9f3048e 100644 --- a/arch/sparc64/kernel/entry.S +++ b/arch/sparc64/kernel/entry.S @@ -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 |