Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev Don't have a COW (Compiler OW) in case there is no k...
details: https://anonhg.NetBSD.org/src/rev/448a01a87462
branches: trunk
changeset: 758973:448a01a87462
user: pooka <pooka%NetBSD.org@localhost>
date: Mon Nov 22 21:10:10 2010 +0000
description:
Don't have a COW (Compiler OW) in case there is no kernel_opt.
diffstat:
sys/dev/md.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (24 lines):
diff -r f710f98b3e2b -r 448a01a87462 sys/dev/md.c
--- a/sys/dev/md.c Mon Nov 22 21:05:27 2010 +0000
+++ b/sys/dev/md.c Mon Nov 22 21:10:10 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: md.c,v 1.63 2010/11/11 11:07:06 hannken Exp $ */
+/* $NetBSD: md.c,v 1.64 2010/11/22 21:10:10 pooka Exp $ */
/*
* Copyright (c) 1995 Gordon W. Ross, Leo Weppelman.
@@ -40,9 +40,13 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: md.c,v 1.63 2010/11/11 11:07:06 hannken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: md.c,v 1.64 2010/11/22 21:10:10 pooka Exp $");
+#ifdef _KERNEL_OPT
#include "opt_md.h"
+#else
+#define MEMORY_DISK_SERVER 1
+#endif
#include <sys/param.h>
#include <sys/kernel.h>
Home |
Main Index |
Thread Index |
Old Index