patch-2.2.19 linux/include/asm-s390/elf.h

Next file: linux/include/asm-s390/idals.h
Previous file: linux/include/asm-s390/debug.h
Back to the patch index
Back to the overall index

diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.18/include/asm-s390/elf.h linux/include/asm-s390/elf.h
@@ -22,7 +22,8 @@
 /*
  * This is used to ensure we don't load something for the wrong architecture.
  */
-#define elf_check_arch(x) ((x) == EM_S390) 
+#define elf_check_arch(x) \
+        ((x) == EM_S390 || (x) == EM_S390_OLD)
 
 /*
  * These are used to set parameters in the core dumps.

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