Module Name:    src
Committed By:   pooka
Date:           Mon Nov 22 21:10:10 UTC 2010

Modified Files:
        src/sys/dev: md.c

Log Message:
Don't have a COW (Compiler OW) in case there is no kernel_opt.


To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 src/sys/dev/md.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/dev/md.c
diff -u src/sys/dev/md.c:1.63 src/sys/dev/md.c:1.64
--- src/sys/dev/md.c:1.63	Thu Nov 11 11:07:06 2010
+++ src/sys/dev/md.c	Mon Nov 22 21:10:10 2010
@@ -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>

Reply via email to