aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2010-05-21 14:08:05 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2010-05-21 14:08:05 -0400
commit90b9a32d8f441369b2f97a765d2d957b531eb653 (patch)
tree3146d251a983ba12226e75c121613de6f051af8b /kernel/sched.c
parent8b108c609adefd98577c35f0a41497a610041a6c (diff)
parent4402c153cb9c549cd21d6007ef0dfac50c8d148d (diff)
Merge branch 'kdb-merge' of git://git.kernel.org/pub/scm/linux/kernel/git/jwessel/linux-2.6-kgdb
* 'kdb-merge' of git://git.kernel.org/pub/scm/linux/kernel/git/jwessel/linux-2.6-kgdb: (25 commits) kdb,debug_core: Allow the debug core to receive a panic notification MAINTAINERS: update kgdb, kdb, and debug_core info debug_core,kdb: Allow the debug core to process a recursive debug entry printk,kdb: capture printk() when in kdb shell kgdboc,kdb: Allow kdb to work on a non open console port kgdb: Add the ability to schedule a breakpoint via a tasklet mips,kgdb: kdb low level trap catch and stack trace powerpc,kgdb: Introduce low level trap catching x86,kgdb: Add low level debug hook kgdb: remove post_primary_code references kgdb,docs: Update the kgdb docs to include kdb kgdboc,keyboard: Keyboard driver for kdb with kgdb kgdb: gdb "monitor" -> kdb passthrough sparc,sunzilog: Add console polling support for sunzilog serial driver sh,sh-sci: Use NO_POLL_CHAR in the SCIF polled console code kgdb,8250,pl011: Return immediately from console poll kgdb: core changes to support kdb kdb: core for kgdb back end (2 of 2) kdb: core for kgdb back end (1 of 2) kgdb,blackfin: Add in kgdb_arch_set_pc for blackfin ...
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 d9c0368eeb21..054a6012de99 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -7759,9 +7759,9 @@ void normalize_rt_tasks(void)
7759 7759
7760#endif /* CONFIG_MAGIC_SYSRQ */ 7760#endif /* CONFIG_MAGIC_SYSRQ */
7761 7761
7762#ifdef CONFIG_IA64 7762#if defined(CONFIG_IA64) || defined(CONFIG_KGDB_KDB)
7763/* 7763/*
7764 * These functions are only useful for the IA64 MCA handling. 7764 * These functions are only useful for the IA64 MCA handling, or kdb.
7765 * 7765 *
7766 * They can only be called when the whole system has been 7766 * They can only be called when the whole system has been
7767 * stopped - every CPU needs to be quiescent, and no scheduling 7767 * stopped - every CPU needs to be quiescent, and no scheduling
@@ -7781,6 +7781,9 @@ struct task_struct *curr_task(int cpu)
7781 return cpu_curr(cpu); 7781 return cpu_curr(cpu);
7782} 7782}
7783 7783
7784#endif /* defined(CONFIG_IA64) || defined(CONFIG_KGDB_KDB) */
7785
7786#ifdef CONFIG_IA64
7784/** 7787/**
7785 * set_curr_task - set the current task for a given cpu. 7788 * set_curr_task - set the current task for a given cpu.
7786 * @cpu: the processor in question. 7789 * @cpu: the processor in question.