diff options
| -rw-r--r-- | arch/powerpc/sysdev/fsl_pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/sysdev/fsl_pci.c b/arch/powerpc/sysdev/fsl_pci.c index 3409758c78b2..57e9aca53426 100644 --- a/arch/powerpc/sysdev/fsl_pci.c +++ b/arch/powerpc/sysdev/fsl_pci.c | |||
| @@ -301,10 +301,10 @@ static void setup_pci_atmu(struct pci_controller *hose) | |||
| 301 | if (early_find_capability(hose, 0, 0, PCI_CAP_ID_EXP)) { | 301 | if (early_find_capability(hose, 0, 0, PCI_CAP_ID_EXP)) { |
| 302 | /* Size window to exact size if power-of-two or one size up */ | 302 | /* Size window to exact size if power-of-two or one size up */ |
| 303 | if ((1ull << mem_log) != mem) { | 303 | if ((1ull << mem_log) != mem) { |
| 304 | mem_log++; | ||
| 304 | if ((1ull << mem_log) > mem) | 305 | if ((1ull << mem_log) > mem) |
| 305 | pr_info("%s: Setting PCI inbound window " | 306 | pr_info("%s: Setting PCI inbound window " |
| 306 | "greater than memory size\n", name); | 307 | "greater than memory size\n", name); |
| 307 | mem_log++; | ||
| 308 | } | 308 | } |
| 309 | 309 | ||
| 310 | piwar |= ((mem_log - 1) & PIWAR_SZ_MASK); | 310 | piwar |= ((mem_log - 1) & PIWAR_SZ_MASK); |
