Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
8e073e50
Commit
8e073e50
authored
Apr 21, 2002
by
Alexander Viro
Committed by
Linus Torvalds
Apr 21, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] (4/6) alpha fixes
- (dumb) default_idle() provided (alpha)
parent
4b6cd7a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
arch/alpha/kernel/process.c
arch/alpha/kernel/process.c
+7
-1
No files found.
arch/alpha/kernel/process.c
View file @
8e073e50
...
@@ -54,15 +54,21 @@ sys_sethae(unsigned long hae, unsigned long a1, unsigned long a2,
...
@@ -54,15 +54,21 @@ sys_sethae(unsigned long hae, unsigned long a1, unsigned long a2,
return
0
;
return
0
;
}
}
void
default_idle
(
void
)
{
barrier
();
}
void
void
cpu_idle
(
void
)
cpu_idle
(
void
)
{
{
while
(
1
)
{
while
(
1
)
{
void
(
*
idle
)(
void
)
=
default_idle
;
/* FIXME -- EV6 and LCA45 know how to power down
/* FIXME -- EV6 and LCA45 know how to power down
the CPU. */
the CPU. */
while
(
!
need_resched
())
while
(
!
need_resched
())
barrier
();
idle
();
schedule
();
schedule
();
}
}
}
}
...
...
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