File tree Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -109,11 +109,7 @@ int kernel_wait(pid_t pid, int *stat);
109
109
extern void free_task (struct task_struct * tsk );
110
110
111
111
/* sched_exec is called by processes performing an exec */
112
- #ifdef CONFIG_SMP
113
112
extern void sched_exec (void );
114
- #else
115
- #define sched_exec () {}
116
- #endif
117
113
118
114
static inline struct task_struct * get_task_struct (struct task_struct * t )
119
115
{
Original file line number Diff line number Diff line change @@ -5419,8 +5419,6 @@ unsigned int nr_iowait(void)
5419
5419
return sum ;
5420
5420
}
5421
5421
5422
- #ifdef CONFIG_SMP
5423
-
5424
5422
/*
5425
5423
* sched_exec - execve() is a valuable balancing opportunity, because at
5426
5424
* this point the task has the smallest effective memory and cache footprint.
@@ -5444,8 +5442,6 @@ void sched_exec(void)
5444
5442
stop_one_cpu (task_cpu (p ), migration_cpu_stop , & arg );
5445
5443
}
5446
5444
5447
- #endif /* CONFIG_SMP */
5448
-
5449
5445
DEFINE_PER_CPU (struct kernel_stat , kstat );
5450
5446
DEFINE_PER_CPU (struct kernel_cpustat , kernel_cpustat );
5451
5447
You can’t perform that action at this time.
0 commit comments