Skip to contentSkip to conversation

i386/traps: replace schedule_timeout() with

PATCH New Nishanth Aravamudan 1 participant 1 message Jan 17, 2005 Kernel janitors

lore
Share & tools
lore
#0 lore raw

PATCH 12/21 i386/traps: replace schedule_timeout() with

Hi,

Please consider applying.

Description: Use ssleep() instead of schedule_timeout() to guarantee the task delays as expected.

arch/i386/kernel/traps.c +1 -2
@@ -345,8 +345,7 @@ void die(const char * str, struct pt_reg
 
 	if (panic_on_oops) {
 		printk(KERN_EMERG "Fatal exception: panic in 5 seconds\n");
-		set_current_state(TASK_UNINTERRUPTIBLE);
-		schedule_timeout(5 * HZ);
+		ssleep(5);
 		panic("Fatal exception");
 	}
 	do_exit(SIGSEGV);

_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors