Hide the ioctls behind #ifdef _KERNEL to avoid kdump getting upset.
This commit is contained in:
parent
2adf7582da
commit
355f192528
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user