diff options
author | Ming Lei <tom.leiming@gmail.com> | 2008-07-16 16:54:30 +0200 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-07-16 17:46:43 +0200 |
commit | 9fce1bc956c21dfe0f46be028f18c4d5057f2bd7 (patch) | |
tree | 183dc119ab7950b890ab5c2f36cad622ea9653f3 | |
parent | x86/PCI: ACPI based PCI gap calculation (diff) | |
download | linux-9fce1bc956c21dfe0f46be028f18c4d5057f2bd7.tar.xz linux-9fce1bc956c21dfe0f46be028f18c4d5057f2bd7.zip |
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>
-rw-r--r-- | drivers/pci/hotplug/pciehp.h | 2 |
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 { u32 slot_cap; u8 cap_base; struct timer_list poll_timer; - volatile int cmd_busy; + int cmd_busy; unsigned int no_cmd_complete:1; }; |