summaryrefslogtreecommitdiffstats
path: root/kmod/cachepc_user.h
diff options
context:
space:
mode:
Diffstat (limited to 'kmod/cachepc_user.h')
-rw-r--r--kmod/cachepc_user.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kmod/cachepc_user.h b/kmod/cachepc_user.h
index a04b184..f815839 100644
--- a/kmod/cachepc_user.h
+++ b/kmod/cachepc_user.h
@@ -3,6 +3,6 @@
#include <linux/ioctl.h>
#define CACHEPC_IOCTL_MAGIC 0xBF
-#define CACHEPC_IOCTL_TEST_ACCESS _IOR(CACHEPC_IOCTL_MAGIC, 0, uint32_t)
+#define CACHEPC_IOCTL_TEST_ACCESS _IOWR(CACHEPC_IOCTL_MAGIC, 0, uint32_t)
#define CACHEPC_IOCTL_TEST_EVICTION _IOWR(CACHEPC_IOCTL_MAGIC, 1, uint32_t)
#define CACHEPC_IOCTL_INIT_PMC _IOW(CACHEPC_IOCTL_MAGIC, 2, uint32_t)