patch-2.4.4 linux/arch/arm/tools/getconstants.c

Next file: linux/arch/arm/tools/mach-types
Previous file: linux/arch/arm/nwfpe/single_cpdo.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.3/linux/arch/arm/tools/getconstants.c linux/arch/arm/tools/getconstants.c
@@ -14,14 +14,8 @@
 #include <asm/pgtable.h>
 #include <asm/uaccess.h>
 
-/*
- * Make sure that the compiler and target are compatible
- */
-#if (defined(__APCS_32__) && defined(CONFIG_CPU_26))
-#error Your compiler targets APCS-32 but this kernel requires APCS-26.
-#endif
-#if (defined(__APCS_26__) && defined(CONFIG_CPU_32))
-#error Your compiler targets APCS-26 but this kernel requires APCS-32.
+#ifndef __APCS_32__
+#error APCS-32 required
 #endif
 
 #define OFF_TSK(n) (unsigned long)&(((struct task_struct *)0)->n)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)