[PATCH] ppc32: don't recursively crash in die() on CHRP/PReP machines
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 22 Jun 2005 00:15:29 +0000 (17:15 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Wed, 22 Jun 2005 01:46:25 +0000 (18:46 -0700)
commita70d439345875d476ede258094356e2acd09b1a1
tree0c5d63edbc020104cac05e444c4527d8bc78e857
parentba8c6d534a0144375f910e764ec965d5e8059f7a
[PATCH] ppc32: don't recursively crash in die() on CHRP/PReP machines

This patch avoids recursive crash (leading to kernel stack overflow) in
die() on CHRP/PReP machines when CONFIG_PMAC_BACKLIGHT=y.  set_backlight_*
functions are placed in pmac section, which is discarded when _machine !=
_MACH_Pmac.

Signed-off-by: Jakub Bogusz <qboosh@pld-linux.org>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ppc/kernel/traps.c