Revert to Fedora kernel-2.6.17-1.2187_FC5 patched with vs2.0.2.1; there are too many...
[linux-2.6.git] / arch / arm / kernel / head-nommu.S
index ac9eb3d..adf62e5 100644 (file)
@@ -12,6 +12,7 @@
  *    for 32-bit CPUs which has a process ID register(CP15).
  *
  */
+#include <linux/config.h>
 #include <linux/linkage.h>
 #include <linux/init.h>
 
@@ -38,7 +39,7 @@
        __INIT
        .type   stext, %function
 ENTRY(stext)
-       msr     cpsr_c, #PSR_F_BIT | PSR_I_BIT | SVC_MODE @ ensure svc mode
+       msr     cpsr_c, #PSR_F_BIT | PSR_I_BIT | MODE_SVC @ ensure svc mode
                                                @ and irqs disabled
        mrc     p15, 0, r9, c0, c0              @ get processor id
        bl      __lookup_processor_type         @ r5=procinfo r9=cpuid