aboutsummaryrefslogtreecommitdiff
path: root/tests-mx32/ioctl_dm.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests-mx32/ioctl_dm.c')
-rw-r--r--tests-mx32/ioctl_dm.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests-mx32/ioctl_dm.c b/tests-mx32/ioctl_dm.c
index 2f77e041b..1e831dfe8 100644
--- a/tests-mx32/ioctl_dm.c
+++ b/tests-mx32/ioctl_dm.c
@@ -54,6 +54,10 @@
# define ALIGNED_OFFSET(t_, m_) \
ALIGNED_SIZE(offsetof(t_, m_), t_)
+# ifndef DM_DEV_ARM_POLL
+# define DM_DEV_ARM_POLL _IOWR(DM_IOCTL, 0x10, struct dm_ioctl)
+# endif
+
static const char str129[] = STR32 STR32 STR32 STR32 "6";
static const __u64 dts_sector_base = (__u64) 0xdeadca75facef157ULL;
@@ -182,6 +186,7 @@ main(void)
{ ARG_STR(DM_TABLE_CLEAR), false },
{ ARG_STR(DM_TABLE_DEPS), true },
{ ARG_STR(DM_TABLE_STATUS), true },
+ { ARG_STR(DM_DEV_ARM_POLL), false },
};
struct dm_ioctl *unaligned_dm_arg =