Revert to Fedora kernel-2.6.17-1.2187_FC5 patched with vs2.0.2.1; there are too many...
[linux-2.6.git] / include / asm-arm / proc-fns.h
index 1bde92c..106045e 100644 (file)
@@ -13,6 +13,7 @@
 
 #ifdef __KERNEL__
 
+#include <linux/config.h>
 
 /*
  * Work out if we need multiple CPU support
 
 #include <asm/memory.h>
 
-#ifdef CONFIG_MMU
-
 #define cpu_switch_mm(pgd,mm) cpu_do_switch_mm(virt_to_phys(pgd),mm)
 
 #define cpu_get_pgd()  \
                (pgd_t *)phys_to_virt(pg);              \
        })
 
-#endif
-
 #endif /* __ASSEMBLY__ */
 #endif /* __KERNEL__ */
 #endif /* __ASM_PROCFNS_H */