Module Name:    src
Committed By:   christos
Date:           Sat Apr 20 22:28:59 UTC 2013

Modified Files:
        src/sys/kern: kern_exec.c

Log Message:
revert previous, you can run on mips 64 bit binaries with a 32 bit kernel.


To generate a diff of this commit:
cvs rdiff -u -r1.359 -r1.360 src/sys/kern/kern_exec.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/kern/kern_exec.c
diff -u src/sys/kern/kern_exec.c:1.359 src/sys/kern/kern_exec.c:1.360
--- src/sys/kern/kern_exec.c:1.359	Sat Apr 20 14:04:41 2013
+++ src/sys/kern/kern_exec.c	Sat Apr 20 18:28:58 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: kern_exec.c,v 1.359 2013/04/20 18:04:41 christos Exp $	*/
+/*	$NetBSD: kern_exec.c,v 1.360 2013/04/20 22:28:58 christos Exp $	*/
 
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -59,9 +59,10 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_exec.c,v 1.359 2013/04/20 18:04:41 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_exec.c,v 1.360 2013/04/20 22:28:58 christos Exp $");
 
 #include "opt_exec.h"
+#include "opt_execfmt.h"
 #include "opt_ktrace.h"
 #include "opt_modular.h"
 #include "opt_syscall_debug.h"
@@ -527,17 +528,13 @@ exec_autoload(void)
 #ifdef MODULAR
 	static const char * const native[] = {
 		"exec_elf32",
-#ifdef _LP64
 		"exec_elf64",
-#endif
 		"exec_script",
 		NULL
 	};
 	static const char * const compat[] = {
 		"exec_elf32",
-#ifdef _LP64
 		"exec_elf64",
-#endif
 		"exec_script",
 		"exec_aout",
 		"exec_coff",

Reply via email to