aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/powerpc/sysdev/mpic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/sysdev/mpic.c b/arch/powerpc/sysdev/mpic.c
index 411480d5c626..d01ced11694d 100644
--- a/arch/powerpc/sysdev/mpic.c
+++ b/arch/powerpc/sysdev/mpic.c
@@ -390,7 +390,7 @@ static void __init mpic_scan_ht_pic(struct mpic *mpic, u8 __iomem *devbase,
390 u8 id = readb(devbase + pos + PCI_CAP_LIST_ID); 390 u8 id = readb(devbase + pos + PCI_CAP_LIST_ID);
391 if (id == PCI_CAP_ID_HT) { 391 if (id == PCI_CAP_ID_HT) {
392 id = readb(devbase + pos + 3); 392 id = readb(devbase + pos + 3);
393 if (id == HT_CAPTYPE_IRQ) 393 if ((id & HT_5BIT_CAP_MASK) == HT_CAPTYPE_IRQ)
394 break; 394 break;
395 } 395 }
396 } 396 }