[POWERPC] EEH failure to mark pci slot as frozen.
authorLinas Vepstas <linas@austin.ibm.com>
Mon, 25 Sep 2006 23:01:42 +0000 (18:01 -0500)
committerPaul Mackerras <paulus@samba.org>
Tue, 26 Sep 2006 05:41:03 +0000 (15:41 +1000)
commit022d51b1b28d25d50935c39d7968fefe34102a9f
treea0c821bc88572a77be2caa9623bb16310049d527
parent2cec1b452c2cb6abf0589f35b69ce09c3e612bb4
[POWERPC] EEH failure to mark pci slot as frozen.

Bug fix: when marking a slot as frozen, we forgot to mark
pci device itself as frozen. (we did manage to mark the
pci children, but forget the parent itself.)

This is needed so that some device drivers can check the
pci status in critical sections (e.g. in spin loops with
interrupts disabled).

Signed-off-by: Linas Vepstas <linas@austin.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/pseries/eeh.c