xref: /openbmc/linux/include/linux/blkpg.h (revision 56a0eccd)
1 #ifndef _LINUX_BLKPG_H
2 #define _LINUX_BLKPG_H
3 
4 /*
5  * Partition table and disk geometry handling
6  */
7 
8 #include <linux/compat.h>
9 #include <uapi/linux/blkpg.h>
10 
11 #ifdef CONFIG_COMPAT
12 /* For 32-bit/64-bit compatibility of struct blkpg_ioctl_arg */
13 struct blkpg_compat_ioctl_arg {
14 	compat_int_t op;
15 	compat_int_t flags;
16 	compat_int_t datalen;
17 	compat_uptr_t data;
18 };
19 #endif
20 
21 #endif /* _LINUX_BLKPG_H */
22