aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2003-01-20 13:04:03 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2003-01-20 13:04:03 +0000
commit355f192528a0edb84092ae50a133e160a72da77f (patch)
tree032091932af840293f3c9f8c32daee7927915507
parent2adf7582dadd8af70c6b9a593589b1a44f017008 (diff)
downloadsrc-355f192528a0edb84092ae50a133e160a72da77f.tar.gz
src-355f192528a0edb84092ae50a133e160a72da77f.zip
Hide the ioctls behind #ifdef _KERNEL to avoid kdump getting upset.
Notes
Notes: svn path=/head/; revision=109570
-rw-r--r--sys/sys/diskslice.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sys/diskslice.h b/sys/sys/diskslice.h
index 476400722fad..1033c3f75bc1 100644
--- a/sys/sys/diskslice.h
+++ b/sys/sys/diskslice.h
@@ -30,10 +30,12 @@
#define _SYS_DISKSLICE_H_
#ifndef raidframe_has_been_fixed
+#ifdef _KERNEL
#include <sys/ioccom.h>
#define DIOCGSLICEINFO _IOR('d', 111, struct diskslices)
#define DIOCSYNCSLICEINFO _IOW('d', 112, int)
#endif
+#endif
#ifndef sys_boot_code_has_been_fixed
#define BASE_SLICE 2