projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
809d9a8
)
PCI: remove unnecessary volatile in PCIe hotplug struct controller
author
Ming Lei
<tom.leiming@gmail.com>
Wed, 16 Jul 2008 14:54:30 +0000
(22:54 +0800)
committer
Jesse Barnes
<jbarnes@virtuousgeek.org>
Wed, 16 Jul 2008 15:46:43 +0000
(08:46 -0700)
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>
drivers/pci/hotplug/pciehp.h
patch
|
blob
|
history
diff --git
a/drivers/pci/hotplug/pciehp.h
b/drivers/pci/hotplug/pciehp.h
index d17233ae06f5ed2afa91a0f301ea952940379c44..e3a1e7e7dba246b6bc35a16dbd8a0a3f00ee885e 100644
(file)
--- 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;
};