Staging: hv: remove volatile usage from HvSynicApi.h

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Wednesday, September 16, 2009 - 9:08 am

Gitweb:     http://git.kernel.org/linus/0d08737cadc38515695540522cd8ceaa975506b4
Commit:     0d08737cadc38515695540522cd8ceaa975506b4
Parent:     eacb1b4d24c2a8b7c1d73bb72e04920980ec8a4f
Author:     Greg Kroah-Hartman <gregkh@suse.de>
AuthorDate: Thu Aug 20 12:12:31 2009 -0700
Committer:  Greg Kroah-Hartman <gregkh@suse.de>
CommitDate: Tue Sep 15 12:01:57 2009 -0700

    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>
---
 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 7e3db63..3e6151d 100644
--- a/drivers/staging/hv/include/HvSynicApi.h
+++ b/drivers/staging/hv/include/HvSynicApi.h
@@ -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. */
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Staging: hv: remove volatile usage from HvSynicApi.h, Linux Kernel Mailing ..., (Wed Sep 16, 9:08 am)