blkpg.h 397 B

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