summaryrefslogtreecommitdiffstats
path: root/sys/miscfs
diff options
context:
space:
mode:
Diffstat (limited to 'sys/miscfs')
-rw-r--r--sys/miscfs/fdesc/fdesc.h4
-rw-r--r--sys/miscfs/kernfs/kernfs.h4
-rw-r--r--sys/miscfs/nullfs/null.h4
-rw-r--r--sys/miscfs/portal/portal.h4
-rw-r--r--sys/miscfs/procfs/procfs.h4
-rw-r--r--sys/miscfs/umapfs/umap.h4
-rw-r--r--sys/miscfs/union/union.h4
7 files changed, 14 insertions, 14 deletions
diff --git a/sys/miscfs/fdesc/fdesc.h b/sys/miscfs/fdesc/fdesc.h
index 463e528..755149d 100644
--- a/sys/miscfs/fdesc/fdesc.h
+++ b/sys/miscfs/fdesc/fdesc.h
@@ -38,7 +38,7 @@
* $FreeBSD$
*/
-#ifdef KERNEL
+#ifdef _KERNEL
struct fdescmount {
struct vnode *f_root; /* Root node */
};
@@ -76,4 +76,4 @@ extern dev_t devctty;
extern int fdesc_init __P((struct vfsconf *));
extern int fdesc_root __P((struct mount *, struct vnode **));
extern int fdesc_allocvp __P((fdntype, int, struct mount *, struct vnode **));
-#endif /* KERNEL */
+#endif /* _KERNEL */
diff --git a/sys/miscfs/kernfs/kernfs.h b/sys/miscfs/kernfs/kernfs.h
index bb03fea..9f826d2 100644
--- a/sys/miscfs/kernfs/kernfs.h
+++ b/sys/miscfs/kernfs/kernfs.h
@@ -39,7 +39,7 @@
#define _PATH_KERNFS "/kern" /* Default mountpoint */
-#ifdef KERNEL
+#ifdef _KERNEL
struct kernfs_mount {
struct vnode *kf_root; /* Root node */
};
@@ -53,4 +53,4 @@ struct kernfs_node {
extern vop_t **kernfs_vnodeop_p;
extern dev_t rrootdev;
-#endif /* KERNEL */
+#endif /* _KERNEL */
diff --git a/sys/miscfs/nullfs/null.h b/sys/miscfs/nullfs/null.h
index fcd179e..2b7ed51 100644
--- a/sys/miscfs/nullfs/null.h
+++ b/sys/miscfs/nullfs/null.h
@@ -47,7 +47,7 @@ struct null_mount {
struct vnode *nullm_rootvp; /* Reference to root null_node */
};
-#ifdef KERNEL
+#ifdef _KERNEL
/*
* A cache of vnode references
*/
@@ -73,4 +73,4 @@ extern struct vnode *null_checkvp __P((struct vnode *vp, char *fil, int lno));
extern int null_bypass __P((struct vop_generic_args *ap));
extern vop_t **null_vnodeop_p;
-#endif /* KERNEL */
+#endif /* _KERNEL */
diff --git a/sys/miscfs/portal/portal.h b/sys/miscfs/portal/portal.h
index 6e78145..ec46662 100644
--- a/sys/miscfs/portal/portal.h
+++ b/sys/miscfs/portal/portal.h
@@ -50,7 +50,7 @@ struct portal_cred {
gid_t pcr_groups[NGROUPS]; /* From ucred */
};
-#ifdef KERNEL
+#ifdef _KERNEL
struct portalmount {
struct vnode *pm_root; /* Root node */
struct file *pm_server; /* Held reference to server socket */
@@ -68,4 +68,4 @@ struct portalnode {
#define PORTAL_ROOTFILEID 2
extern vop_t **portal_vnodeop_p;
-#endif /* KERNEL */
+#endif /* _KERNEL */
diff --git a/sys/miscfs/procfs/procfs.h b/sys/miscfs/procfs/procfs.h
index 1402a7c..f000026 100644
--- a/sys/miscfs/procfs/procfs.h
+++ b/sys/miscfs/procfs/procfs.h
@@ -83,7 +83,7 @@ struct pfsnode {
/*
* Kernel stuff follows
*/
-#ifdef KERNEL
+#ifdef _KERNEL
#define CNEQ(cnp, s, len) \
((cnp)->cn_namelen == (len) && \
(bcmp((s), (cnp)->cn_nameptr, (len)) == 0))
@@ -159,4 +159,4 @@ extern vop_t **procfs_vnodeop_p;
int procfs_root __P((struct mount *, struct vnode **));
int procfs_rw __P((struct vop_read_args *));
-#endif /* KERNEL */
+#endif /* _KERNEL */
diff --git a/sys/miscfs/umapfs/umap.h b/sys/miscfs/umapfs/umap.h
index 856aeb9..eb562ed 100644
--- a/sys/miscfs/umapfs/umap.h
+++ b/sys/miscfs/umapfs/umap.h
@@ -62,7 +62,7 @@ struct umap_mount {
group mapping in ficus */
};
-#ifdef KERNEL
+#ifdef _KERNEL
/*
* A cache of vnode references
*/
@@ -88,4 +88,4 @@ extern struct vnode *umap_checkvp __P((struct vnode *vp, char *fil, int lno));
#endif
extern vop_t **umap_vnodeop_p;
-#endif /* KERNEL */
+#endif /* _KERNEL */
diff --git a/sys/miscfs/union/union.h b/sys/miscfs/union/union.h
index 3fb0b6e..a720d41 100644
--- a/sys/miscfs/union/union.h
+++ b/sys/miscfs/union/union.h
@@ -56,7 +56,7 @@ struct union_mount {
int um_op; /* Operation mode */
};
-#ifdef KERNEL
+#ifdef _KERNEL
#ifndef DIAGNOSTIC
#define DIAGNOSTIC
@@ -152,4 +152,4 @@ extern vop_t **union_vnodeop_p;
extern struct vfsops union_vfsops;
extern int uniondebug;
-#endif /* KERNEL */
+#endif /* _KERNEL */
OpenPOWER on IntegriCloud