diff options
Diffstat (limited to 'arch/mips/mti-malta/malta-pci.c')
-rw-r--r-- | arch/mips/mti-malta/malta-pci.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/mti-malta/malta-pci.c b/arch/mips/mti-malta/malta-pci.c index 2147cb34e705..37134ddfeaa5 100644 --- a/arch/mips/mti-malta/malta-pci.c +++ b/arch/mips/mti-malta/malta-pci.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (C) 1999, 2000, 2004, 2005 MIPS Technologies, Inc. | 2 | * Copyright (C) 1999, 2000, 2004, 2005 MIPS Technologies, Inc. |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * Authors: Carsten Langgaard <carstenl@mips.com> | 4 | * Authors: Carsten Langgaard <carstenl@mips.com> |
5 | * Maciej W. Rozycki <macro@mips.com> | 5 | * Maciej W. Rozycki <macro@mips.com> |
@@ -127,7 +127,7 @@ void __init mips_pcibios_init(void) | |||
127 | map = map1; | 127 | map = map1; |
128 | } | 128 | } |
129 | mask = ~(start ^ end); | 129 | mask = ~(start ^ end); |
130 | /* We don't support remapping with a discontiguous mask. */ | 130 | /* We don't support remapping with a discontiguous mask. */ |
131 | BUG_ON((start & GT_PCI_HD_MSK) != (map & GT_PCI_HD_MSK) && | 131 | BUG_ON((start & GT_PCI_HD_MSK) != (map & GT_PCI_HD_MSK) && |
132 | mask != ~((mask & -mask) - 1)); | 132 | mask != ~((mask & -mask) - 1)); |
133 | gt64120_mem_resource.start = start; | 133 | gt64120_mem_resource.start = start; |
@@ -144,7 +144,7 @@ void __init mips_pcibios_init(void) | |||
144 | map = GT_READ(GT_PCI0IOREMAP_OFS); | 144 | map = GT_READ(GT_PCI0IOREMAP_OFS); |
145 | end = (end & GT_PCI_HD_MSK) | (start & ~GT_PCI_HD_MSK); | 145 | end = (end & GT_PCI_HD_MSK) | (start & ~GT_PCI_HD_MSK); |
146 | mask = ~(start ^ end); | 146 | mask = ~(start ^ end); |
147 | /* We don't support remapping with a discontiguous mask. */ | 147 | /* We don't support remapping with a discontiguous mask. */ |
148 | BUG_ON((start & GT_PCI_HD_MSK) != (map & GT_PCI_HD_MSK) && | 148 | BUG_ON((start & GT_PCI_HD_MSK) != (map & GT_PCI_HD_MSK) && |
149 | mask != ~((mask & -mask) - 1)); | 149 | mask != ~((mask & -mask) - 1)); |
150 | gt64120_io_resource.start = map & mask; | 150 | gt64120_io_resource.start = map & mask; |