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
Kirill Smelkov
linux
Commits
5c8ee10d
Commit
5c8ee10d
authored
Aug 12, 2002
by
David Mosberger
Committed by
David Mosberger
Aug 12, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ia64: Minor formatting fixes.
parent
5f51b842
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
arch/ia64/kernel/smpboot.c
arch/ia64/kernel/smpboot.c
+5
-6
No files found.
arch/ia64/kernel/smpboot.c
View file @
5c8ee10d
...
@@ -358,8 +358,8 @@ static struct task_struct * __init
...
@@ -358,8 +358,8 @@ static struct task_struct * __init
fork_by_hand
(
void
)
fork_by_hand
(
void
)
{
{
/*
/*
* don't care about the eip and regs settings since
* don't care about the eip and regs settings since
we'll never reschedule the
*
we'll never reschedule the
forked task.
* forked task.
*/
*/
return
do_fork
(
CLONE_VM
|
CLONE_IDLETASK
,
0
,
0
,
0
);
return
do_fork
(
CLONE_VM
|
CLONE_IDLETASK
,
0
,
0
,
0
);
}
}
...
@@ -371,8 +371,7 @@ do_boot_cpu (int sapicid, int cpu)
...
@@ -371,8 +371,7 @@ do_boot_cpu (int sapicid, int cpu)
int
timeout
;
int
timeout
;
/*
/*
* We can't use kernel_thread since we must avoid to
* We can't use kernel_thread since we must avoid to reschedule the child.
* reschedule the child.
*/
*/
idle
=
fork_by_hand
();
idle
=
fork_by_hand
();
if
(
IS_ERR
(
idle
))
if
(
IS_ERR
(
idle
))
...
@@ -432,7 +431,7 @@ smp_tune_scheduling (void)
...
@@ -432,7 +431,7 @@ smp_tune_scheduling (void)
* Initialize the logical CPU number to SAPICID mapping
* Initialize the logical CPU number to SAPICID mapping
*/
*/
void
__init
void
__init
smp_build_cpu_map
(
void
)
smp_build_cpu_map
(
void
)
{
{
int
sapicid
,
cpu
,
i
;
int
sapicid
,
cpu
,
i
;
int
boot_cpu_id
=
hard_smp_processor_id
();
int
boot_cpu_id
=
hard_smp_processor_id
();
...
@@ -492,7 +491,7 @@ smp_prepare_cpus (unsigned int max_cpus)
...
@@ -492,7 +491,7 @@ smp_prepare_cpus (unsigned int max_cpus)
}
}
void
void
smp_cpus_done
(
unsigned
int
dummy
)
smp_cpus_done
(
unsigned
int
dummy
)
{
{
int
cpu
;
int
cpu
;
unsigned
long
bogosum
=
0
;
unsigned
long
bogosum
=
0
;
...
...
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