Commit 0d08737c authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

Staging: hv: remove volatile usage from HvSynicApi.h



It's pretty pointless as no one is using this structure, but even so
the use of volatile is so wrong here it's sad...

Cc: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent eacb1b4d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -212,7 +212,7 @@ struct hv_message {

/* Define the synthetic interrupt message page layout. */
struct hv_message_page {
	volatile struct hv_message SintMessage[HV_SYNIC_SINT_COUNT];
	struct hv_message SintMessage[HV_SYNIC_SINT_COUNT];
};

/* Define the synthetic interrupt controller event flags format. */
@@ -223,7 +223,7 @@ union hv_synic_event_flags {

/* Define the synthetic interrupt flags page layout. */
struct hv_synic_event_flags_page {
	volatile union hv_synic_event_flags SintEventFlags[HV_SYNIC_SINT_COUNT];
	union hv_synic_event_flags SintEventFlags[HV_SYNIC_SINT_COUNT];
};

/* Define SynIC control register. */