Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern stopgap fix for rump build
details: https://anonhg.NetBSD.org/src/rev/d7687e9172cd
branches: trunk
changeset: 771588:d7687e9172cd
user: christos <christos%NetBSD.org@localhost>
date: Fri Nov 25 17:53:20 2011 +0000
description:
stopgap fix for rump build
diffstat:
sys/kern/subr_disk_open.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (34 lines):
diff -r a8b9893abcbe -r d7687e9172cd sys/kern/subr_disk_open.c
--- a/sys/kern/subr_disk_open.c Fri Nov 25 17:48:22 2011 +0000
+++ b/sys/kern/subr_disk_open.c Fri Nov 25 17:53:20 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: subr_disk_open.c,v 1.4 2011/11/13 22:54:05 christos Exp $ */
+/* $NetBSD: subr_disk_open.c,v 1.5 2011/11/25 17:53:20 christos Exp $ */
/*-
* Copyright (c) 2006 The NetBSD Foundation, Inc.
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_disk_open.c,v 1.4 2011/11/13 22:54:05 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_disk_open.c,v 1.5 2011/11/25 17:53:20 christos Exp $");
#include <sys/param.h>
#include <sys/conf.h>
@@ -39,6 +39,7 @@
#include <sys/vnode.h>
#include <miscfs/specfs/specdev.h>
+#ifndef _RUMPKERNEL
struct vnode *
opendisk(struct device *dv)
{
@@ -109,6 +110,7 @@
return error;
}
+#endif
int
getdiskinfo(struct vnode *vp, struct dkwedge_info *dkw)
Home |
Main Index |
Thread Index |
Old Index