patch-2.4.0-test4 linux/arch/ia64/boot/bootloader.c

Next file: linux/arch/ia64/config.in
Previous file: linux/arch/i386/kernel/visws_apic.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test3/linux/arch/ia64/boot/bootloader.c linux/arch/ia64/boot/bootloader.c
@@ -157,7 +157,7 @@
 		cons_write("not an ELF executable\n");
 		return;
 	}
-	if (!elf_check_arch(elf->e_machine)) {
+	if (!elf_check_arch(elf)) {
 		cons_write("kernel not for this processor\n");
 		return;
 	}

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