summaryrefslogtreecommitdiffstats
path: root/sys/geom/geom.h
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-04-24 12:53:12 +0000
committerphk <phk@FreeBSD.org>2002-04-24 12:53:12 +0000
commit5ec8e881ee3e863e94e6419b927e32c2eed0106c (patch)
tree47ce70c048eed0a4b5f19bf85918e2ba6199a682 /sys/geom/geom.h
parentd1865bed8c1cc59d55d79a64058fac60df35f54b (diff)
downloadFreeBSD-src-5ec8e881ee3e863e94e6419b927e32c2eed0106c.zip
FreeBSD-src-5ec8e881ee3e863e94e6419b927e32c2eed0106c.tar.gz
Make specific provisions for the kernel simulator used in the regression
tests, other userland programs may need to include <geom/geom.h>. Sponsored by: DARPA & NAI Labs.
Diffstat (limited to 'sys/geom/geom.h')
-rw-r--r--sys/geom/geom.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/geom/geom.h b/sys/geom/geom.h
index ab99c50..df85fe3 100644
--- a/sys/geom/geom.h
+++ b/sys/geom/geom.h
@@ -45,7 +45,7 @@
#include <sys/ioccom.h>
#include <sys/sbuf.h>
-#ifndef _KERNEL
+#ifdef KERNELSIM
/*
* The GEOM subsystem makes a few concessions in order to be able to run as a
* user-land simulation as well as a kernel component.
OpenPOWER on IntegriCloud