aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sched.c')
-rw-r--r--kernel/sched.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index 1d93cd0ae4d3..a25c1324af54 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -7758,9 +7758,9 @@ void normalize_rt_tasks(void)
7758 7758
7759#endif /* CONFIG_MAGIC_SYSRQ */ 7759#endif /* CONFIG_MAGIC_SYSRQ */
7760 7760
7761#ifdef CONFIG_IA64 7761#if defined(CONFIG_IA64) || defined(CONFIG_KGDB_KDB)
7762/* 7762/*
7763 * These functions are only useful for the IA64 MCA handling. 7763 * These functions are only useful for the IA64 MCA handling, or kdb.
7764 * 7764 *
7765 * They can only be called when the whole system has been 7765 * They can only be called when the whole system has been
7766 * stopped - every CPU needs to be quiescent, and no scheduling 7766 * stopped - every CPU needs to be quiescent, and no scheduling
@@ -7780,6 +7780,9 @@ struct task_struct *curr_task(int cpu)
7780 return cpu_curr(cpu); 7780 return cpu_curr(cpu);
7781} 7781}
7782 7782
7783#endif /* defined(CONFIG_IA64) || defined(CONFIG_KGDB_KDB) */
7784
7785#ifdef CONFIG_IA64
7783/** 7786/**
7784 * set_curr_task - set the current task for a given cpu. 7787 * set_curr_task - set the current task for a given cpu.
7785 * @cpu: the processor in question. 7788 * @cpu: the processor in question.