Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys use _KERNEL_OPT
details: https://anonhg.NetBSD.org/src/rev/7bb75759296a
branches: trunk
changeset: 510487:7bb75759296a
user: mrg <mrg%NetBSD.org@localhost>
date: Wed May 30 11:57:16 2001 +0000
description:
use _KERNEL_OPT
diffstat:
sys/altq/altqconf.h | 6 +++---
sys/arch/algor/include/cpu.h | 4 ++--
sys/arch/algor/include/param.h | 6 +++---
sys/arch/alpha/alpha/linux_syscall.c | 6 +++---
sys/arch/alpha/alpha/osf1_syscall.c | 6 +++---
sys/arch/alpha/include/cpu.h | 4 ++--
sys/arch/alpha/include/param.h | 6 +++---
sys/arch/alpha/include/pmap.h | 4 ++--
sys/arch/amiga/dev/if_le.c | 4 ++--
sys/arch/amiga/include/cpu.h | 4 ++--
sys/arch/amigappc/include/cpu.h | 4 ++--
sys/arch/amigappc/include/param.h | 6 +++---
sys/arch/arc/include/cpu.h | 4 ++--
sys/arch/arc/include/param.h | 6 +++---
sys/arch/arm/include/arm32/param.h | 6 +++---
sys/arch/arm/include/ofisa_machdep.h | 4 ++--
sys/arch/arm32/include/irqhandler.h | 4 ++--
sys/arch/arm32/include/vidc.h | 4 ++--
sys/arch/atari/include/cpu.h | 4 ++--
sys/arch/atari/vme/if_le_vme.c | 4 ++--
sys/arch/bebox/include/cpu.h | 4 ++--
sys/arch/bebox/include/param.h | 6 +++---
sys/arch/cesfic/include/cpu.h | 4 ++--
sys/arch/cobalt/include/cpu.h | 4 ++--
sys/arch/cobalt/include/param.h | 6 +++---
sys/arch/dnard/include/irqhandler.h | 4 ++--
sys/arch/hp300/dev/if_le.c | 4 ++--
sys/arch/hp300/include/cpu.h | 4 ++--
sys/arch/hp300/include/hp300spu.h | 4 ++--
sys/arch/hp300/include/param.h | 4 ++--
sys/arch/hpc/hpc/platid.h | 4 ++--
sys/arch/hpcarm/include/irqhandler.h | 4 ++--
sys/arch/hpcmips/include/cpu.h | 4 ++--
sys/arch/hpcmips/include/param.h | 6 +++---
sys/arch/i386/i386/freebsd_machdep.c | 4 ++--
sys/arch/i386/i386/freebsd_syscall.c | 4 ++--
sys/arch/i386/i386/ibcs2_machdep.c | 4 ++--
sys/arch/i386/i386/ibcs2_sigcode.s | 4 ++--
sys/arch/i386/i386/ibcs2_syscall.c | 4 ++--
sys/arch/i386/i386/linux_sigcode.s | 4 ++--
sys/arch/i386/i386/linux_syscall.c | 4 ++--
sys/arch/i386/i386/svr4_machdep.c | 4 ++--
sys/arch/i386/i386/svr4_sigcode.s | 4 ++--
sys/arch/i386/i386/svr4_syscall.c | 4 ++--
sys/arch/i386/include/byte_swap.h | 4 ++--
sys/arch/i386/include/cpu.h | 4 ++--
sys/arch/i386/include/param.h | 6 +++---
sys/arch/i386/include/pmap.h | 4 ++--
sys/arch/i386/include/psl.h | 4 ++--
sys/arch/i386/include/segments.h | 4 ++--
sys/arch/luna68k/include/cpu.h | 4 ++--
sys/arch/m68k/include/param.h | 6 +++---
sys/arch/mac68k/include/cpu.h | 4 ++--
sys/arch/macppc/dev/if_mcvar.h | 4 ++--
sys/arch/macppc/include/cpu.h | 4 ++--
sys/arch/macppc/include/param.h | 6 +++---
sys/arch/mipsco/include/cpu.h | 4 ++--
sys/arch/mipsco/include/param.h | 6 +++---
sys/arch/mipsco/obio/if_le.c | 4 ++--
sys/arch/mvme68k/dev/if_le.c | 4 ++--
sys/arch/mvme68k/include/cpu.h | 4 ++--
sys/arch/netwinder/include/irqhandler.h | 4 ++--
sys/arch/news68k/dev/if_le.c | 4 ++--
sys/arch/news68k/include/cpu.h | 4 ++--
sys/arch/news68k/include/param.h | 4 ++--
sys/arch/newsmips/dev/if_le.c | 4 ++--
sys/arch/newsmips/include/cpu.h | 4 ++--
sys/arch/newsmips/include/param.h | 6 +++---
sys/arch/next68k/include/cpu.h | 4 ++--
sys/arch/ofppc/include/cpu.h | 4 ++--
sys/arch/ofppc/include/param.h | 6 +++---
sys/arch/pc532/include/cpu.h | 4 ++--
sys/arch/pc532/include/param.h | 6 +++---
sys/arch/pmax/include/cpu.h | 4 ++--
sys/arch/pmax/include/param.h | 6 +++---
sys/arch/powerpc/include/param.h | 6 +++---
sys/arch/prep/include/cpu.h | 4 ++--
sys/arch/prep/include/param.h | 6 +++---
sys/arch/sandpoint/include/cpu.h | 4 ++--
sys/arch/sandpoint/include/param.h | 6 +++---
sys/arch/sgimips/include/cpu.h | 4 ++--
sys/arch/sgimips/include/param.h | 6 +++---
sys/arch/sh3/include/cpu.h | 4 ++--
sys/arch/sparc/dev/if_le_obio.c | 4 ++--
sys/arch/sparc/include/param.h | 6 +++---
sys/arch/sparc/sparc/cpuvar.h | 4 ++--
sys/arch/sparc/sparc/openfirm.c | 4 ++--
sys/arch/sparc/sparc/svr4_machdep.c | 4 ++--
sys/arch/sparc64/include/param.h | 6 +++---
sys/arch/sparc64/sparc64/openfirm.c | 4 ++--
sys/arch/sun2/include/cpu.h | 4 ++--
sys/arch/sun3/dev/if_le.c | 4 ++--
sys/arch/sun3/include/cpu.h | 4 ++--
sys/arch/vax/include/cpu.h | 4 ++--
sys/arch/vax/include/param.h | 6 +++---
sys/arch/x68k/include/cpu.h | 4 ++--
sys/arch/x68k/include/param.h | 4 ++--
sys/miscfs/fdesc/fdesc_vfsops.c | 4 ++--
sys/miscfs/kernfs/kernfs_vfsops.c | 4 ++--
sys/miscfs/portal/portal_vfsops.c | 4 ++--
sys/miscfs/procfs/procfs_vfsops.c | 4 ++--
sys/net/if.h | 4 ++--
sys/net/pfil.h | 4 ++--
sys/netinet/tcp_debug.h | 4 ++--
sys/netinet/tcp_var.h | 4 ++--
sys/netinet6/ah.h | 4 ++--
sys/netinet6/esp.h | 4 ++--
sys/netinet6/ipcomp.h | 4 ++--
sys/netinet6/ipsec.h | 4 ++--
sys/sys/ioctl.h | 4 ++--
sys/sys/lock.h | 4 ++--
sys/sys/malloc.h | 4 ++--
sys/sys/proc.h | 4 ++--
sys/sys/sched.h | 4 ++--
sys/sys/systm.h | 4 ++--
sys/ufs/ext2fs/ext2fs_balloc.c | 4 ++--
sys/ufs/ext2fs/ext2fs_vfsops.c | 4 ++--
sys/ufs/ffs/ffs_alloc.c | 4 ++--
sys/ufs/ffs/ffs_balloc.c | 4 ++--
sys/ufs/ffs/ffs_inode.c | 4 ++--
sys/ufs/ffs/ffs_vfsops.c | 4 ++--
sys/ufs/lfs/lfs_alloc.c | 4 ++--
sys/ufs/lfs/lfs_balloc.c | 4 ++--
sys/ufs/lfs/lfs_inode.c | 4 ++--
sys/ufs/lfs/lfs_segment.c | 4 ++--
sys/ufs/lfs/lfs_vfsops.c | 4 ++--
sys/ufs/mfs/mfs_vfsops.c | 4 ++--
sys/ufs/ufs/ufs_bswap.h | 4 ++--
sys/uvm/uvm.h | 4 ++--
sys/uvm/uvm_stat.h | 4 ++--
130 files changed, 286 insertions(+), 286 deletions(-)
diffs (truncated from 2425 to 300 lines):
diff -r 9b35ab5ee2ac -r 7bb75759296a sys/altq/altqconf.h
--- a/sys/altq/altqconf.h Wed May 30 11:48:07 2001 +0000
+++ b/sys/altq/altqconf.h Wed May 30 11:57:16 2001 +0000
@@ -1,6 +1,6 @@
-/* $NetBSD: altqconf.h,v 1.1 2000/12/14 23:50:43 thorpej Exp $ */
+/* $NetBSD: altqconf.h,v 1.2 2001/05/30 11:57:16 mrg Exp $ */
-#if defined(_KERNEL) && !defined(_LKM)
+#if defined(_KERNEL_OPT)
#include "opt_altq_enabled.h"
#include <sys/conf.h>
@@ -14,4 +14,4 @@
cdev_decl(altq);
#define cdev_altq_init(x,y) cdev__oci_init(x,y)
-#endif /* _KERNEL && ! _LKM */
+#endif /* _KERNEL_OPT */
diff -r 9b35ab5ee2ac -r 7bb75759296a sys/arch/algor/include/cpu.h
--- a/sys/arch/algor/include/cpu.h Wed May 30 11:48:07 2001 +0000
+++ b/sys/arch/algor/include/cpu.h Wed May 30 11:57:16 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.h,v 1.1 2001/05/28 16:22:17 thorpej Exp $ */
+/* $NetBSD: cpu.h,v 1.2 2001/05/30 12:28:37 mrg Exp $ */
#ifndef _ALGOR_CPU_H_
#define _ALGOR_CPU_H_
@@ -7,7 +7,7 @@
#include <mips/cpuregs.h>
#ifndef _LOCORE
-#if defined(_KERNEL) && !defined(_LKM)
+#if defined(_KERNEL_OPT)
#include "opt_lockdebug.h"
#endif
diff -r 9b35ab5ee2ac -r 7bb75759296a sys/arch/algor/include/param.h
--- a/sys/arch/algor/include/param.h Wed May 30 11:48:07 2001 +0000
+++ b/sys/arch/algor/include/param.h Wed May 30 11:57:16 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: param.h,v 1.1 2001/05/28 16:22:19 thorpej Exp $ */
+/* $NetBSD: param.h,v 1.2 2001/05/30 12:28:38 mrg Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -82,9 +82,9 @@
#define MCLBYTES (1 << MCLSHIFT) /* size of a m_buf cluster */
#define MCLOFSET (MCLBYTES - 1)
-#if defined(_KERNEL) && !defined(_LKM)
+#if defined(_KERNEL_OPT)
#include "opt_gateway.h"
-#endif /* _KERNEL && ! _LKM */
+#endif
#ifndef NMBCLUSTERS
#ifdef GATEWAY
diff -r 9b35ab5ee2ac -r 7bb75759296a sys/arch/alpha/alpha/linux_syscall.c
--- a/sys/arch/alpha/alpha/linux_syscall.c Wed May 30 11:48:07 2001 +0000
+++ b/sys/arch/alpha/alpha/linux_syscall.c Wed May 30 11:57:16 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_syscall.c,v 1.4 2001/01/03 22:15:38 thorpej Exp $ */
+/* $NetBSD: linux_syscall.c,v 1.5 2001/05/30 12:28:38 mrg Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -94,14 +94,14 @@
* rights to redistribute these changes.
*/
-#if defined(_KERNEL) && !defined(_LKM)
+#if defined(_KERNEL_OPT)
#include "opt_syscall_debug.h"
#include "opt_ktrace.h"
#endif
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: linux_syscall.c,v 1.4 2001/01/03 22:15:38 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscall.c,v 1.5 2001/05/30 12:28:38 mrg Exp $");
#include <sys/param.h>
#include <sys/systm.h>
diff -r 9b35ab5ee2ac -r 7bb75759296a sys/arch/alpha/alpha/osf1_syscall.c
--- a/sys/arch/alpha/alpha/osf1_syscall.c Wed May 30 11:48:07 2001 +0000
+++ b/sys/arch/alpha/alpha/osf1_syscall.c Wed May 30 11:57:16 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: osf1_syscall.c,v 1.4 2001/01/03 22:15:38 thorpej Exp $ */
+/* $NetBSD: osf1_syscall.c,v 1.5 2001/05/30 12:28:38 mrg Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -94,14 +94,14 @@
* rights to redistribute these changes.
*/
-#if defined(_KERNEL) && !defined(_LKM)
+#if defined(_KERNEL_OPT)
#include "opt_syscall_debug.h"
#include "opt_ktrace.h"
#endif
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: osf1_syscall.c,v 1.4 2001/01/03 22:15:38 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: osf1_syscall.c,v 1.5 2001/05/30 12:28:38 mrg Exp $");
#include <sys/param.h>
#include <sys/systm.h>
diff -r 9b35ab5ee2ac -r 7bb75759296a sys/arch/alpha/include/cpu.h
--- a/sys/arch/alpha/include/cpu.h Wed May 30 11:48:07 2001 +0000
+++ b/sys/arch/alpha/include/cpu.h Wed May 30 11:57:16 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.h,v 1.57 2001/05/27 13:53:25 sommerfeld Exp $ */
+/* $NetBSD: cpu.h,v 1.58 2001/05/30 12:28:38 mrg Exp $ */
/*-
* Copyright (c) 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc.
@@ -82,7 +82,7 @@
#ifndef _ALPHA_CPU_H_
#define _ALPHA_CPU_H_
-#if defined(_KERNEL) && !defined(_LKM)
+#if defined(_KERNEL_OPT)
#include "opt_multiprocessor.h"
#include "opt_lockdebug.h"
#endif
diff -r 9b35ab5ee2ac -r 7bb75759296a sys/arch/alpha/include/param.h
--- a/sys/arch/alpha/include/param.h Wed May 30 11:48:07 2001 +0000
+++ b/sys/arch/alpha/include/param.h Wed May 30 11:57:16 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: param.h,v 1.30 2000/06/09 16:03:04 thorpej Exp $ */
+/* $NetBSD: param.h,v 1.31 2001/05/30 12:28:38 mrg Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -108,9 +108,9 @@
#define MCLOFSET (MCLBYTES - 1)
#ifndef NMBCLUSTERS
-#if defined(_KERNEL) && !defined(_LKM)
+#if defined(_KERNEL_OPT)
#include "opt_gateway.h"
-#endif /* _KERNEL && ! _LKM */
+#endif
#ifdef GATEWAY
#define NMBCLUSTERS 512 /* map size, max cluster allocation */
diff -r 9b35ab5ee2ac -r 7bb75759296a sys/arch/alpha/include/pmap.h
--- a/sys/arch/alpha/include/pmap.h Wed May 30 11:48:07 2001 +0000
+++ b/sys/arch/alpha/include/pmap.h Wed May 30 11:57:16 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.h,v 1.50 2001/05/26 21:27:03 chs Exp $ */
+/* $NetBSD: pmap.h,v 1.51 2001/05/30 12:28:38 mrg Exp $ */
/*-
* Copyright (c) 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc.
@@ -80,7 +80,7 @@
#ifndef _PMAP_MACHINE_
#define _PMAP_MACHINE_
-#if defined(_KERNEL) && !defined(_LKM)
+#if defined(_KERNEL_OPT)
#include "opt_multiprocessor.h"
#endif
diff -r 9b35ab5ee2ac -r 7bb75759296a sys/arch/amiga/dev/if_le.c
--- a/sys/arch/amiga/dev/if_le.c Wed May 30 11:48:07 2001 +0000
+++ b/sys/arch/amiga/dev/if_le.c Wed May 30 11:57:16 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_le.c,v 1.32 1999/01/10 12:56:25 tron Exp $ */
+/* $NetBSD: if_le.c,v 1.33 2001/05/30 12:28:39 mrg Exp $ */
/*-
* Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@@ -118,7 +118,7 @@
sizeof(struct le_softc), le_zbus_match, le_zbus_attach
};
-#if defined(_KERNEL) && !defined(_LKM)
+#if defined(_KERNEL_OPT)
#include "opt_ddb.h"
#endif
diff -r 9b35ab5ee2ac -r 7bb75759296a sys/arch/amiga/include/cpu.h
--- a/sys/arch/amiga/include/cpu.h Wed May 30 11:48:07 2001 +0000
+++ b/sys/arch/amiga/include/cpu.h Wed May 30 11:57:16 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.h,v 1.51 2000/12/19 21:09:55 scw Exp $ */
+/* $NetBSD: cpu.h,v 1.52 2001/05/30 12:28:39 mrg Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -48,7 +48,7 @@
* Exported definitions unique to amiga/68k cpu support.
*/
-#if defined(_KERNEL) && !defined(_LKM)
+#if defined(_KERNEL_OPT)
#include "opt_lockdebug.h"
#endif
diff -r 9b35ab5ee2ac -r 7bb75759296a sys/arch/amigappc/include/cpu.h
--- a/sys/arch/amigappc/include/cpu.h Wed May 30 11:48:07 2001 +0000
+++ b/sys/arch/amigappc/include/cpu.h Wed May 30 11:57:16 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.h,v 1.6 2001/02/18 19:08:16 is Exp $ */
+/* $NetBSD: cpu.h,v 1.7 2001/05/30 12:28:39 mrg Exp $ */
/*
* Copyright (C) 1995-1997 Wolfgang Solfrank.
@@ -33,7 +33,7 @@
#ifndef _MACHINE_CPU_H_
#define _MACHINE_CPU_H_
-#if defined(_KERNEL) && !defined(_LKM)
+#if defined(_KERNEL_OPT)
#include "opt_lockdebug.h"
#endif
diff -r 9b35ab5ee2ac -r 7bb75759296a sys/arch/amigappc/include/param.h
--- a/sys/arch/amigappc/include/param.h Wed May 30 11:48:07 2001 +0000
+++ b/sys/arch/amigappc/include/param.h Wed May 30 11:57:16 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: param.h,v 1.2 2000/06/30 17:55:11 itojun Exp $ */
+/* $NetBSD: param.h,v 1.3 2001/05/30 12:28:39 mrg Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -93,9 +93,9 @@
#ifndef NMBCLUSTERS
-#if defined(_KERNEL) && !defined(_LKM)
+#if defined(_KERNEL_OPT)
#include "opt_gateway.h"
-#endif /* _KERNEL && ! _LKM */
+#endif
#ifdef GATEWAY
#define NMBCLUSTERS 512 /* map size, max cluster allocation */
diff -r 9b35ab5ee2ac -r 7bb75759296a sys/arch/arc/include/cpu.h
--- a/sys/arch/arc/include/cpu.h Wed May 30 11:48:07 2001 +0000
+++ b/sys/arch/arc/include/cpu.h Wed May 30 11:57:16 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.h,v 1.15 2000/05/26 21:19:29 thorpej Exp $ */
+/* $NetBSD: cpu.h,v 1.16 2001/05/30 12:28:39 mrg Exp $ */
/* $OpenBSD: cpu.h,v 1.9 1998/01/28 13:46:10 pefo Exp $ */
#ifndef _ARC_CPU_H_
@@ -13,7 +13,7 @@
#include <mips/cpuregs.h>
#ifndef _LOCORE
-#if defined(_KERNEL) && !defined(_LKM)
+#if defined(_KERNEL_OPT)
#include "opt_lockdebug.h"
#endif
diff -r 9b35ab5ee2ac -r 7bb75759296a sys/arch/arc/include/param.h
--- a/sys/arch/arc/include/param.h Wed May 30 11:48:07 2001 +0000
+++ b/sys/arch/arc/include/param.h Wed May 30 11:57:16 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: param.h,v 1.14 2000/06/30 17:55:12 itojun Exp $ */
+/* $NetBSD: param.h,v 1.15 2001/05/30 12:28:39 mrg Exp $ */
/* $OpenBSD: param.h,v 1.9 1997/04/30 09:54:15 niklas Exp $ */
/*
@@ -98,9 +98,9 @@
#define MCLOFSET (MCLBYTES - 1)
#ifndef NMBCLUSTERS
-#if defined(_KERNEL) && !defined(_LKM)
+#if defined(_KERNEL_OPT)
#include "opt_gateway.h"
-#endif /* _KERNEL && ! _LKM */
+#endif
#ifdef GATEWAY
#define NMBCLUSTERS 2048 /* map size, max cluster allocation */
diff -r 9b35ab5ee2ac -r 7bb75759296a sys/arch/arm/include/arm32/param.h
--- a/sys/arch/arm/include/arm32/param.h Wed May 30 11:48:07 2001 +0000
+++ b/sys/arch/arm/include/arm32/param.h Wed May 30 11:57:16 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: param.h,v 1.3 2001/03/04 08:28:51 matt Exp $ */
+/* $NetBSD: param.h,v 1.4 2001/05/30 12:28:40 mrg Exp $ */
/*
* Copyright (c) 1994,1995 Mark Brinicombe.
@@ -95,9 +95,9 @@
#ifndef NMBCLUSTERS
-#if defined(_KERNEL) && !defined(_LKM)
+#if defined(_KERNEL_OPT)
#include "opt_gateway.h"
-#endif /* _KERNEL && ! _LKM */
+#endif
#ifdef GATEWAY
Home |
Main Index |
Thread Index |
Old Index