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
0874aad7
Commit
0874aad7
authored
May 06, 2002
by
Roman Zippel
Committed by
Linus Torvalds
May 06, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] m68k: idle update [10/20]
Fix idle functions.
parent
6c4c810c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
12 deletions
+10
-12
arch/m68k/kernel/process.c
arch/m68k/kernel/process.c
+10
-12
No files found.
arch/m68k/kernel/process.c
View file @
0874aad7
...
...
@@ -53,19 +53,15 @@ asmlinkage void ret_from_fork(void);
/*
* The idle loop on an m68k..
*/
static
void
default_idle
(
void
)
void
default_idle
(
void
)
{
while
(
1
)
{
if
(
!
need_resched
())
if
(
!
need_resched
())
#if defined(MACH_ATARI_ONLY) && !defined(CONFIG_HADES)
/* block out HSYNC on the atari (falcon) */
__asm__
(
"stop #0x2200"
:
:
:
"cc"
);
/* block out HSYNC on the atari (falcon) */
__asm__
(
"stop #0x2200"
:
:
:
"cc"
);
#else
__asm__
(
"stop #0x2000"
:
:
:
"cc"
);
__asm__
(
"stop #0x2000"
:
:
:
"cc"
);
#endif
schedule
();
check_pgt_cache
();
}
}
void
(
*
idle
)(
void
)
=
default_idle
;
...
...
@@ -79,9 +75,11 @@ void (*idle)(void) = default_idle;
void
cpu_idle
(
void
)
{
/* endless idle loop with no priority at all */
init_idle
();
current
->
nice
=
20
;
idle
();
while
(
1
)
{
while
(
!
need_resched
())
idle
();
schedule
();
}
}
void
machine_restart
(
char
*
__unused
)
...
...
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