1/* SPDX-License-Identifier: GPL-2.0 */
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 */
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 */
23