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
755e37ff
Commit
755e37ff
authored
Mar 11, 2002
by
David Mosberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
smp.c:
Remove task-migration IPI. It's been replaced by Ingo's migration threads.
parent
de2a1e26
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
21 deletions
+0
-21
arch/ia64/kernel/smp.c
arch/ia64/kernel/smp.c
+0
-21
No files found.
arch/ia64/kernel/smp.c
View file @
755e37ff
...
@@ -75,12 +75,8 @@ struct call_data_struct {
...
@@ -75,12 +75,8 @@ struct call_data_struct {
static
volatile
struct
call_data_struct
*
call_data
;
static
volatile
struct
call_data_struct
*
call_data
;
static
spinlock_t
migration_lock
=
SPIN_LOCK_UNLOCKED
;
static
task_t
*
migrating_task
;
#define IPI_CALL_FUNC 0
#define IPI_CALL_FUNC 0
#define IPI_CPU_STOP 1
#define IPI_CPU_STOP 1
#define IPI_MIGRATE_TASK 2
static
void
static
void
stop_this_cpu
(
void
)
stop_this_cpu
(
void
)
...
@@ -143,14 +139,6 @@ handle_IPI (int irq, void *dev_id, struct pt_regs *regs)
...
@@ -143,14 +139,6 @@ handle_IPI (int irq, void *dev_id, struct pt_regs *regs)
}
}
break
;
break
;
case
IPI_MIGRATE_TASK
:
{
task_t
*
p
=
migrating_task
;
spin_unlock
(
&
migration_lock
);
sched_task_migrated
(
p
);
}
break
;
case
IPI_CPU_STOP
:
case
IPI_CPU_STOP
:
stop_this_cpu
();
stop_this_cpu
();
break
;
break
;
...
@@ -350,15 +338,6 @@ smp_send_stop (void)
...
@@ -350,15 +338,6 @@ smp_send_stop (void)
smp_num_cpus
=
1
;
smp_num_cpus
=
1
;
}
}
void
smp_migrate_task
(
int
cpu
,
task_t
*
p
)
{
/* The target CPU will unlock the migration spinlock: */
spin_lock
(
&
migration_lock
);
migrating_task
=
p
;
send_IPI_single
(
cpu
,
IPI_MIGRATE_TASK
);
}
int
__init
int
__init
setup_profiling_timer
(
unsigned
int
multiplier
)
setup_profiling_timer
(
unsigned
int
multiplier
)
{
{
...
...
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