git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
[pandora-kernel.git]
/
arch
/
ppc
/
kernel
/
traps.c
diff --git
a/arch/ppc/kernel/traps.c
b/arch/ppc/kernel/traps.c
index
d7a4330
..
aafc8e8
100644
(file)
--- a/
arch/ppc/kernel/traps.c
+++ b/
arch/ppc/kernel/traps.c
@@
-119,7
+119,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 (
current->pid == 1
) {
+ if (
is_init(current)
) {
__sighandler_t handler;
spin_lock_irq(¤t->sighand->siglock);