diff options
Diffstat (limited to 'include/linux/blkpg.h')
-rw-r--r-- | include/linux/blkpg.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/include/linux/blkpg.h b/include/linux/blkpg.h new file mode 100644 index 000000000000..bef124fde61e --- /dev/null +++ b/include/linux/blkpg.h | |||
@@ -0,0 +1,21 @@ | |||
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 */ | ||