]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitea5de2301b0da3641ac6d7fff76120dde06fddc5
treea0c821bc88572a77be2caa9623bb16310049d527
parentceb825bddd6d8133d01bc27568f60c16b2409fe6
[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