diff options
author | Matt Macy <mmacy@FreeBSD.org> | 2020-10-17 00:05:34 +0000 |
---|---|---|
committer | Matt Macy <mmacy@FreeBSD.org> | 2020-10-17 00:05:34 +0000 |
commit | 0be360124f8f108f73365e31448e7550f877f3ac (patch) | |
tree | 78557e980720fdcfd76497e6630c29ce1688559c /include/os/freebsd/spl/sys/proc.h | |
parent | e2228bd99047bb6a0cef0da931147b1f28f155c2 (diff) |
Notes
Diffstat (limited to 'include/os/freebsd/spl/sys/proc.h')
-rw-r--r-- | include/os/freebsd/spl/sys/proc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/os/freebsd/spl/sys/proc.h b/include/os/freebsd/spl/sys/proc.h index a455cfbab66f..8583df509b55 100644 --- a/include/os/freebsd/spl/sys/proc.h +++ b/include/os/freebsd/spl/sys/proc.h @@ -41,7 +41,7 @@ #include <sys/kmem.h> #include <sys/malloc.h> - +#ifdef _KERNEL #define CPU curcpu #define minclsyspri PRIBIO #define defclsyspri minclsyspri @@ -111,4 +111,5 @@ zfs_proc_is_caller(proc_t *p) return (p == curproc); } +#endif /* _KERNEL */ #endif /* _OPENSOLARIS_SYS_PROC_H_ */ |