MIPS: Fix detection of unsupported highmem with cache aliases
[deliverable/linux.git] / arch / mips / mm / init.c
index 2c3749d98f04b2f78ee6e70035a6e175d50a819e..72f7478ee068408d9398813c9f75e21b98c80a3b 100644 (file)
@@ -440,6 +440,9 @@ static inline void mem_init_free_highmem(void)
 #ifdef CONFIG_HIGHMEM
        unsigned long tmp;
 
+       if (cpu_has_dc_aliases)
+               return;
+
        for (tmp = highstart_pfn; tmp < highend_pfn; tmp++) {
                struct page *page = pfn_to_page(tmp);
 
This page took 0.025208 seconds and 5 git commands to generate.