Commit 5c888d53 authored by Nishanth Aravamudan's avatar Nishanth Aravamudan Committed by Linus Torvalds
Browse files

[PATCH] xtensa: use ssleep() instead of schedule_timeout()

Replace schedule_timeout() with ssleep() to guarantee the task delays as
Signed-off-by: default avatarNishanth Aravamudan <>
Signed-off-by: default avatarChris Zankel <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 813e6783
......@@ -29,6 +29,7 @@
#include <linux/module.h>
#include <linux/stringify.h>
#include <linux/kallsyms.h>
#include <linux/delay.h>
#include <asm/ptrace.h>
#include <asm/timex.h>
......@@ -488,8 +489,7 @@ void die(const char * str, struct pt_regs * regs, long err)
if (panic_on_oops) {
printk(KERN_EMERG "Fatal exception: panic in 5 seconds\n");
schedule_timeout(5 * HZ);
panic("Fatal exception");
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment