projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
powerpc/eeh: Fix condition for isolated state
[cascardo/linux.git]
/
arch
/
powerpc
/
kernel
/
eeh_pe.c
diff --git
a/arch/powerpc/kernel/eeh_pe.c
b/arch/powerpc/kernel/eeh_pe.c
index
53dd091
..
37f2128
100644
(file)
--- a/
arch/powerpc/kernel/eeh_pe.c
+++ b/
arch/powerpc/kernel/eeh_pe.c
@@
-525,7
+525,7
@@
static void *__eeh_pe_state_mark(void *data, void *flag)
pe->state |= state;
/* Offline PCI devices if applicable */
- if (
state != EEH_PE_ISOLATED
)
+ if (
!(state & EEH_PE_ISOLATED)
)
return NULL;
eeh_pe_for_each_dev(pe, edev, tmp) {