aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/hotplug/pciehp.h
diff options
context:
space:
mode:
authorMing Lei <tom.leiming@gmail.com>2008-07-16 10:54:30 -0400
committerJesse Barnes <jbarnes@virtuousgeek.org>2008-07-16 11:46:43 -0400
commit9fce1bc956c21dfe0f46be028f18c4d5057f2bd7 (patch)
tree183dc119ab7950b890ab5c2f36cad622ea9653f3 /drivers/pci/hotplug/pciehp.h
parent809d9a8f93bd8504dcc34b16bbfdfd1a8c9bb1ed (diff)
PCI: remove unnecessary volatile in PCIe hotplug struct controller
Proper memory barriers have been added to order accesses to ->cmd_busy, so volatile declaration for cmd_busy can be removed. Signed-off-by: Ming Lei <tom.leiming@gmail.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci/hotplug/pciehp.h')
-rw-r--r--drivers/pci/hotplug/pciehp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/hotplug/pciehp.h b/drivers/pci/hotplug/pciehp.h
index d17233ae06f5..e3a1e7e7dba2 100644
--- a/drivers/pci/hotplug/pciehp.h
+++ b/drivers/pci/hotplug/pciehp.h
@@ -97,7 +97,7 @@ struct controller {
97 u32 slot_cap; 97 u32 slot_cap;
98 u8 cap_base; 98 u8 cap_base;
99 struct timer_list poll_timer; 99 struct timer_list poll_timer;
100 volatile int cmd_busy; 100 int cmd_busy;
101 unsigned int no_cmd_complete:1; 101 unsigned int no_cmd_complete:1;
102}; 102};
103 103