Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
6f5374c9
Commit
6f5374c9
authored
Feb 21, 2006
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC64]: Add sun4v_cpu_yield().
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
1bd0cd74
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
arch/sparc64/kernel/entry.S
arch/sparc64/kernel/entry.S
+9
-0
include/asm-sparc64/hypervisor.h
include/asm-sparc64/hypervisor.h
+3
-0
No files found.
arch/sparc64/kernel/entry.S
View file @
6f5374c9
...
...
@@ -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
include/asm-sparc64/hypervisor.h
View file @
6f5374c9
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment