Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 21514
b: refs/heads/master
c: 6f5374c
h: refs/heads/master
v: v3
  • Loading branch information
David S. Miller committed Mar 20, 2006
1 parent 14a2f46 commit 79c8f9d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1bd0cd74d102a527b2a72907698d73fad4b82cbd
refs/heads/master: 6f5374c91f0dd1d92408ed44c066c32bcce5ce69
9 changes: 9 additions & 0 deletions trunk/arch/sparc64/kernel/entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 3 additions & 0 deletions trunk/include/asm-sparc64/hypervisor.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 79c8f9d

Please sign in to comment.