git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
panic: decrease oops_in_progress only after having done the panic
[safe/jmp/linux-2.6]
/
kernel
/
panic.c
diff --git
a/kernel/panic.c
b/kernel/panic.c
index
32fe4ef
..
57fb005
100644
(file)
--- a/
kernel/panic.c
+++ b/
kernel/panic.c
@@
-77,7
+77,6
@@
NORET_TYPE void panic(const char * fmt, ...)
#ifdef CONFIG_DEBUG_BUGVERBOSE
dump_stack();
#endif
- bust_spinlocks(0);
/*
* If we have crashed and we have a crash kernel loaded let it handle
@@
-136,6
+135,7
@@
NORET_TYPE void panic(const char * fmt, ...)
mdelay(1);
i++;
}
+ bust_spinlocks(0);
}
EXPORT_SYMBOL(panic);