diff mbox

[RFC,1/6] libnvdimm: add ND_IOCTL_CALL_DSM

Message ID 20160113053924.6293.93310.stgit@dwillia2-desk3.amr.corp.intel.com (mailing list archive)
State RFC
Headers show

Commit Message

Dan Williams Jan. 13, 2016, 5:39 a.m. UTC
---
 include/uapi/linux/ndctl.h |    3 +++
 1 file changed, 3 insertions(+)
diff mbox

Patch

diff --git a/include/uapi/linux/ndctl.h b/include/uapi/linux/ndctl.h
index 6823af333350..d40bc7ebe890 100644
--- a/include/uapi/linux/ndctl.h
+++ b/include/uapi/linux/ndctl.h
@@ -183,6 +183,9 @@  static inline const char *nvdimm_cmd_name(unsigned cmd)
 #define ND_IOCTL_ARS_STATUS		_IOWR(ND_IOCTL, ND_CMD_ARS_STATUS,\
 					struct nd_cmd_ars_status)
 
+#define ND_IOCTL_CALL_DSM		_IOWR(ND_IOCTL, ND_CMD_CALL_DSM,\
+					struct nd_cmd_dsmcall_pkg)
+
 #define ND_DEVICE_DIMM 1            /* nd_dimm: container for "config data" */
 #define ND_DEVICE_REGION_PMEM 2     /* nd_region: (parent of PMEM namespaces) */
 #define ND_DEVICE_REGION_BLK 3      /* nd_region: (parent of BLK namespaces) */