]> err.no Git - linux-2.6/commit
[PATCH] Avoid use of uninitialised spinlock in EEH.
authorDavid Woodhouse <dwmw2@infradead.org>
Thu, 17 Nov 2005 00:44:03 +0000 (00:44 +0000)
committerPaul Mackerras <paulus@samba.org>
Thu, 17 Nov 2005 05:53:38 +0000 (16:53 +1100)
commit1e28a7ddd3e713384e9c6768e7c502031dc205e2
tree7600b576b660a531b27a72bd2e9ff67031c4dadb
parent5cfccd7f132432dd4705444a44b51d12ef88a85f
[PATCH] Avoid use of uninitialised spinlock in EEH.

If the kernel supports both G5 and pSeries, and CONFIG_EEH is enabled,
eeh_init() is (quite reasonably) never called when we boot on a G5. Yet
eeh_check_failure() still gets called. We should avoid doing that if
!eeh_subsystem_enabled.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/pseries/eeh.c
include/asm-powerpc/eeh.h