blob: 1c91753c3c28fbd92fab6cef546db96f158efb0b [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Brian Norris53bb7242015-09-21 13:26:59 -07002#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 */
14struct 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 */