[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)
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>

No differences found