Skip to content

Commit 4e4a771

Browse files
Terminus-IMRCpopcornmix
authored andcommitted
vcsm: Describe the use of cache operation constants
Signed-off-by: Sugizaki Yukimasa <i.can.speak.c.and.basic@gmail.com>
1 parent db94f2d commit 4e4a771

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

‎include/linux/broadcom/vmcs_sm_ioctl.h‎

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,6 @@ enum vmcs_sm_cache_e {
7979
VMCS_SM_CACHE_BOTH,
8080
};
8181

82-
/* Cache functions */
83-
#define VCSM_CACHE_OP_INV 0x01
84-
#define VCSM_CACHE_OP_CLEAN 0x02
85-
#define VCSM_CACHE_OP_FLUSH 0x03
86-
8782
/* IOCTL Data structures */
8883
struct vmcs_sm_ioctl_alloc {
8984
/* user -> kernel */
@@ -173,6 +168,14 @@ struct vmcs_sm_ioctl_cache {
173168
unsigned int size;
174169
};
175170

171+
/*
172+
* Cache functions to be set to struct vmcs_sm_ioctl_clean_invalid cmd and
173+
* vmcs_sm_ioctl_clean_invalid2 invalidate_mode.
174+
*/
175+
#define VCSM_CACHE_OP_INV 0x01
176+
#define VCSM_CACHE_OP_CLEAN 0x02
177+
#define VCSM_CACHE_OP_FLUSH 0x03
178+
176179
struct vmcs_sm_ioctl_clean_invalid {
177180
/* user -> kernel */
178181
struct {

0 commit comments

Comments
 (0)