aboutsummaryrefslogtreecommitdiff
path: root/arch/mips/loongson/common/pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/loongson/common/pci.c')
-rw-r--r--arch/mips/loongson/common/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/loongson/common/pci.c b/arch/mips/loongson/common/pci.c
index eac43b8f695e..31d8c5ecd16c 100644
--- a/arch/mips/loongson/common/pci.c
+++ b/arch/mips/loongson/common/pci.c
@@ -68,7 +68,7 @@ static void __init setup_pcimap(void)
deassert for some broken device */
LOONGSON_PXARB_CFG = 0x00fe0105ul;
-#if defined(CONFIG_CPU_LOONGSON2F) && defined(CONFIG_64BIT)
+#ifdef CONFIG_CPU_SUPPORTS_ADDRWINCFG
/*
* set cpu addr window2 to map CPU address space to PCI address space
*/