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