Module Name:    src
Committed By:   pgoyette
Date:           Mon Nov 30 01:31:02 UTC 2015

Modified Files:
        src/sys/compat/netbsd32: netbsd32_mod.c

Log Message:
Factor the basic dependency list out of the #ifdef _KERNEL_OPT block, since
the only difference was ksem (which is available as either built-in or
loadable module).


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/compat/netbsd32/netbsd32_mod.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/compat/netbsd32/netbsd32_mod.c
diff -u src/sys/compat/netbsd32/netbsd32_mod.c:1.9 src/sys/compat/netbsd32/netbsd32_mod.c:1.10
--- src/sys/compat/netbsd32/netbsd32_mod.c:1.9	Sat Oct 10 05:50:34 2015
+++ src/sys/compat/netbsd32/netbsd32_mod.c	Mon Nov 30 01:31:02 2015
@@ -1,4 +1,4 @@
-/*	$NetBSD: netbsd32_mod.c,v 1.9 2015/10/10 05:50:34 pgoyette Exp $	*/
+/*	$NetBSD: netbsd32_mod.c,v 1.10 2015/11/30 01:31:02 pgoyette Exp $	*/
 
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -30,13 +30,10 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_mod.c,v 1.9 2015/10/10 05:50:34 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_mod.c,v 1.10 2015/11/30 01:31:02 pgoyette Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_execfmt.h"
-# define	DEPS1	"compat,compat_sysv,nfsserver,mqueue"
-#else
-# define	DEPS1	"compat,compat_sysv,nfsserver,mqueue,ksem"
 #endif
 
 #ifndef ELFSIZE
@@ -51,6 +48,8 @@ __KERNEL_RCSID(0, "$NetBSD: netbsd32_mod
 #include <compat/netbsd32/netbsd32_sysctl.h>
 #include <compat/netbsd32/netbsd32_exec.h>
 
+# define	DEPS1	"compat,compat_sysv,nfsserver,mqueue,ksem"
+
 #if defined(EXEC_ELF32)
 # define	DEPS2	",exec_elf32"
 #else

Reply via email to