mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-02-15 04:42:02 +00:00
44 lines
1.3 KiB
Diff
44 lines
1.3 KiB
Diff
From 4e4a77139b8df58f7b6b158f501b045ebcd89b4e Mon Sep 17 00:00:00 2001
|
|
From: Sugizaki Yukimasa <i.can.speak.c.and.basic@gmail.com>
|
|
Date: Mon, 8 Jan 2018 21:15:13 +0900
|
|
Subject: [PATCH 171/277] vcsm: Describe the use of cache operation constants
|
|
|
|
Signed-off-by: Sugizaki Yukimasa <i.can.speak.c.and.basic@gmail.com>
|
|
---
|
|
include/linux/broadcom/vmcs_sm_ioctl.h | 13 ++++++++-----
|
|
1 file changed, 8 insertions(+), 5 deletions(-)
|
|
|
|
diff --git a/include/linux/broadcom/vmcs_sm_ioctl.h b/include/linux/broadcom/vmcs_sm_ioctl.h
|
|
index ddbeebc71ada..e881fa8ee8e1 100644
|
|
--- a/include/linux/broadcom/vmcs_sm_ioctl.h
|
|
+++ b/include/linux/broadcom/vmcs_sm_ioctl.h
|
|
@@ -79,11 +79,6 @@ enum vmcs_sm_cache_e {
|
|
VMCS_SM_CACHE_BOTH,
|
|
};
|
|
|
|
-/* Cache functions */
|
|
-#define VCSM_CACHE_OP_INV 0x01
|
|
-#define VCSM_CACHE_OP_CLEAN 0x02
|
|
-#define VCSM_CACHE_OP_FLUSH 0x03
|
|
-
|
|
/* IOCTL Data structures */
|
|
struct vmcs_sm_ioctl_alloc {
|
|
/* user -> kernel */
|
|
@@ -173,6 +168,14 @@ struct vmcs_sm_ioctl_cache {
|
|
unsigned int size;
|
|
};
|
|
|
|
+/*
|
|
+ * Cache functions to be set to struct vmcs_sm_ioctl_clean_invalid cmd and
|
|
+ * vmcs_sm_ioctl_clean_invalid2 invalidate_mode.
|
|
+ */
|
|
+#define VCSM_CACHE_OP_INV 0x01
|
|
+#define VCSM_CACHE_OP_CLEAN 0x02
|
|
+#define VCSM_CACHE_OP_FLUSH 0x03
|
|
+
|
|
struct vmcs_sm_ioctl_clean_invalid {
|
|
/* user -> kernel */
|
|
struct {
|
|
--
|
|
2.16.1
|
|
|