blob: bef124fde61e55ee34d3012b8597199ddfc2fbca [file] [log] [blame]
Brian Norris53bb7242015-09-21 13:26:59 -07001#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 */
13struct 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 */