projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9e0d06
)
[PATCH] uml: turn off kmalloc always on a fatal signal
author
Jeff Dike
<jdike@addtoit.com>
Sat, 28 May 2005 22:51:54 +0000
(15:51 -0700)
committer
Linus Torvalds
<torvalds@ppc970.osdl.org>
Sat, 28 May 2005 23:46:11 +0000
(16:46 -0700)
We should turn off kmalloc when getting a fatal signal regardless of the mode
we're in.
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/um/kernel/main.c
patch
|
blob
|
history
diff --git
a/arch/um/kernel/main.c
b/arch/um/kernel/main.c
index a17c49703f9bd2513af8eef1eae001dc4fd11a52..939e3b7086705d26f1150fce6c57bc6770ab1c5a 100644
(file)
--- a/
arch/um/kernel/main.c
+++ b/
arch/um/kernel/main.c
@@
-71,7
+71,7
@@
static __init void do_uml_initcalls(void)
static void last_ditch_exit(int sig)
{
-
CHOOSE_MODE(kmalloc_ok = 0, (void) 0)
;
+
kmalloc_ok = 0
;
signal(SIGINT, SIG_DFL);
signal(SIGTERM, SIG_DFL);
signal(SIGHUP, SIG_DFL);