Hide the ioctls behind #ifdef _KERNEL to avoid kdump getting upset.

This commit is contained in:
Poul-Henning Kamp 2003-01-20 13:04:03 +00:00
parent 2adf7582da
commit 355f192528

View File

@ -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