summaryrefslogtreecommitdiffstats
path: root/kmod/cachepc_user.h
diff options
context:
space:
mode:
authorLouis Burda <quent.burda@gmail.com>2022-08-15 21:52:52 +0200
committerLouis Burda <quent.burda@gmail.com>2022-08-15 21:52:52 +0200
commite80d7612f93f7d8dabe3be5152d8baa15a7d29db (patch)
tree76074fbac084e357bae9a90f5d0fceee04497ab4 /kmod/cachepc_user.h
parentfef45f5207c99b00676c014bc02141e284c331ce (diff)
downloadcachepc-e80d7612f93f7d8dabe3be5152d8baa15a7d29db.tar.gz
cachepc-e80d7612f93f7d8dabe3be5152d8baa15a7d29db.zip
Minor tweaks
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)