diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-08-20 15:12:31 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 15:01:57 -0400 |
commit | 0d08737cadc38515695540522cd8ceaa975506b4 (patch) | |
tree | 8e30040b34d966a769a6598261a622ed9294d9fd | |
parent | eacb1b4d24c2a8b7c1d73bb72e04920980ec8a4f (diff) |
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: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/staging/hv/include/HvSynicApi.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/hv/include/HvSynicApi.h b/drivers/staging/hv/include/HvSynicApi.h index 7e3db63d2e1..3e6151d7eb6 100644 --- a/drivers/staging/hv/include/HvSynicApi.h +++ b/drivers/staging/hv/include/HvSynicApi.h | |||
@@ -212,7 +212,7 @@ struct hv_message { | |||
212 | 212 | ||
213 | /* Define the synthetic interrupt message page layout. */ | 213 | /* Define the synthetic interrupt message page layout. */ |
214 | struct hv_message_page { | 214 | struct hv_message_page { |
215 | volatile struct hv_message SintMessage[HV_SYNIC_SINT_COUNT]; | 215 | struct hv_message SintMessage[HV_SYNIC_SINT_COUNT]; |
216 | }; | 216 | }; |
217 | 217 | ||
218 | /* Define the synthetic interrupt controller event flags format. */ | 218 | /* Define the synthetic interrupt controller event flags format. */ |
@@ -223,7 +223,7 @@ union hv_synic_event_flags { | |||
223 | 223 | ||
224 | /* Define the synthetic interrupt flags page layout. */ | 224 | /* Define the synthetic interrupt flags page layout. */ |
225 | struct hv_synic_event_flags_page { | 225 | struct hv_synic_event_flags_page { |
226 | volatile union hv_synic_event_flags SintEventFlags[HV_SYNIC_SINT_COUNT]; | 226 | union hv_synic_event_flags SintEventFlags[HV_SYNIC_SINT_COUNT]; |
227 | }; | 227 | }; |
228 | 228 | ||
229 | /* Define SynIC control register. */ | 229 | /* Define SynIC control register. */ |