[MAVERICK][PATCH] Revert "UBUNTU: SAUCE: Disable function tracing after hitting __schedule_bug"

Chase Douglas chase.douglas at canonical.com
Thu May 20 16:52:05 UTC 2010


This reverts commit 63da13e29daa6cbdeaa2a6c18d81d000a5f6fb1a.

This functionality can be enabled at runtime, so this patch is
unnecessary. I have documented the runtime functionality and sent a
patch upstream, which should be merged in for .35.

Signed-off-by: Chase Douglas <chase.douglas at canonical.com>
---
 kernel/sched.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/kernel/sched.c b/kernel/sched.c
index fa0c12f..0724bde 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -3620,8 +3620,6 @@ static noinline void __schedule_bug(struct task_struct *prev)
 {
 	struct pt_regs *regs = get_irq_regs();
 
-	tracing_off();
-
 	printk(KERN_ERR "BUG: scheduling while atomic: %s/%d/0x%08x\n",
 		prev->comm, prev->pid, preempt_count());
 
-- 
1.7.0.4





More information about the kernel-team mailing list