Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Brian Norris | 53bb724 | 2015-09-21 13:26:59 -0700 | [diff] [blame] | 2 | #ifndef _LINUX_BLKPG_H |
| 3 | #define _LINUX_BLKPG_H |
| 4 | |
| 5 | /* |
| 6 | * Partition table and disk geometry handling |
| 7 | */ |
| 8 | |
| 9 | #include <linux/compat.h> |
| 10 | #include <uapi/linux/blkpg.h> |
| 11 | |
| 12 | #ifdef CONFIG_COMPAT |
| 13 | /* For 32-bit/64-bit compatibility of struct blkpg_ioctl_arg */ |
| 14 | struct blkpg_compat_ioctl_arg { |
| 15 | compat_int_t op; |
| 16 | compat_int_t flags; |
| 17 | compat_int_t datalen; |
| 18 | compat_uptr_t data; |
| 19 | }; |
| 20 | #endif |
| 21 | |
| 22 | #endif /* _LINUX_BLKPG_H */ |