summaryrefslogtreecommitdiff
path: root/include/linux/if_x25.h
diff options
context:
space:
mode:
authorStanislaw Gruszka <sgruszka@redhat.com>2012-03-07 21:52:25 +0400
committerJohn W. Linville <linville@tuxdriver.com>2012-03-08 22:59:50 +0400
commit3a73a30049f20a0ff3ef1c5c10170a9c5539e042 (patch)
treeb14185ec9195512e1372d861f6b3382551ad6b7f /include/linux/if_x25.h
parentbfe4b80e9f7385f34986736cdc094be56782109a (diff)
downloadlinux-3a73a30049f20a0ff3ef1c5c10170a9c5539e042.tar.xz
iwlwifi: cleanup/fix memory barriers
wmb(), rmb() are not needed when writel(), readl() are used as accessors for MMIO. We use them indirectly via iowrite32(), ioread32(). What is needed mmiowb(), for synchronizing writes coming from different CPUs on PCIe bridge (see in patch comments). This fortunately is not needed on x86, where mmiowb() is just defined as compiler barrier. As iwlwifi devices are most likely not used on anything other than x86, this is not so important fix. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/linux/if_x25.h')
0 files changed, 0 insertions, 0 deletions