提交 9fce1bc9 编写于 作者: M Ming Lei 提交者: Jesse Barnes

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: NMing Lei <tom.leiming@gmail.com>
Signed-off-by: NJesse Barnes <jbarnes@virtuousgeek.org>
上级 809d9a8f
......@@ -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;
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册