projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
pid namespaces: define is_global_init() and is_container_init()
[linux-2.6-block.git]
/
arch
/
ppc
/
kernel
/
traps.c
diff --git
a/arch/ppc/kernel/traps.c
b/arch/ppc/kernel/traps.c
index 3f3b292eb773ba80d2d3f79bdfd231bbcea95ecb..c78568905c3b1c2b7676446748e57774a737399a 100644
(file)
--- a/
arch/ppc/kernel/traps.c
+++ b/
arch/ppc/kernel/traps.c
@@
-121,7
+121,7
@@
void _exception(int signr, struct pt_regs *regs, int code, unsigned long addr)
* generate the same exception over and over again and we get
* nowhere. Better to kill it and let the kernel panic.
*/
- if (is_init(current)) {
+ if (is_
global_
init(current)) {
__sighandler_t handler;
spin_lock_irq(¤t->sighand->siglock);