patch-2.3.23 linux/include/asm-arm/proc-armo/elf.h

Next file: linux/include/asm-arm/proc-armo/mm-init.h
Previous file: linux/include/asm-arm/proc-armo/cache.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.22/linux/include/asm-arm/proc-armo/elf.h linux/include/asm-arm/proc-armo/elf.h
@@ -4,14 +4,11 @@
 
 #define ELF_EXEC_PAGESIZE	32768
 
-#if 0		/* not yet */
+#ifdef __KERNEL__
+
+/* We can only execute 26-bit code. */
 #define ELF_PROC_OK(x)		\
 	((x)->e_flags & EF_ARM_APCS26)
-#else
-#define ELF_PROC_OK(x)		(1)
-#endif
-
-#ifdef __KERNEL__
 
 #define SET_PERSONALITY(ex,ibcs2) \
 	current->personality = PER_LINUX

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