summaryrefslogtreecommitdiffstats
path: root/sys/geom
diff options
context:
space:
mode:
Diffstat (limited to 'sys/geom')
-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