Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/compat/netbsd32 Factor the basic dependency list out of ...



details:   https://anonhg.NetBSD.org/src/rev/ec5c94fbf1cc
branches:  trunk
changeset: 812077:ec5c94fbf1cc
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Mon Nov 30 01:31:02 2015 +0000

description:
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).

diffstat:

 sys/compat/netbsd32/netbsd32_mod.c |  9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diffs (33 lines):

diff -r 921440df36dc -r ec5c94fbf1cc sys/compat/netbsd32/netbsd32_mod.c
--- a/sys/compat/netbsd32/netbsd32_mod.c        Sun Nov 29 23:38:47 2015 +0000
+++ b/sys/compat/netbsd32/netbsd32_mod.c        Mon Nov 30 01:31:02 2015 +0000
@@ -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 @@
 #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



Home | Main Index | Thread Index | Old Index