# # Headers that are optional in usr/include/asm/ # opt-header += kvm.h opt-header += kvm_para.h opt-header += a.out.h # # Headers that are mandatory in usr/include/asm/ # header-y += auxvec.h header-y += bitsperlong.h header-y += byteorder.h header-y += errno.h header-y += fcntl.h header-y += ioctl.h header-y += ioctls.h header-y += ipcbuf.h header-y += mman.h header-y += msgbuf.h header-y += param.h header-y += poll.h header-y += posix_types.h header-y += ptrace.h header-y += resource.h header-y += sembuf.h header-y += setup.h header-y += shmbuf.h header-y += sigcontext.h header-y += siginfo.h header-y += signal.h header-y += socket.h header-y += sockios.h header-y += stat.h header-y += statfs.h header-y += swab.h header-y += termbits.h header-y += termios.h header-y += types.h header-y += unistd.h header-y += $(foreach hdr,$(opt-header), \ $(if \ $(wildcard \ $(srctree)/arch/$(SRCARCH)/include/uapi/asm/$(hdr) \ $(srctree)/arch/$(SRCARCH)/include/asm/$(hdr) \ ), \ $(hdr) \ )) net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Norris <briannorris@chromium.org>2017-01-13 15:35:38 -0800
committerKalle Valo <kvalo@codeaurora.org>2017-01-20 11:46:32 +0200
commitfe116788393942eef11d5c0f1cb16b1ef423970d (patch)
treef53c57b080cb76a36b808d502ad6b0b454e69fa2
parent5d5ddb5e0d9bc3ff3f377c6e03a074d13606a6e5 (diff)
mwifiex: pcie: read FROMDEVICE DMA-able memory with READ_ONCE()
In mwifiex_delay_for_sleep_cookie(), we're looping and waiting for the PCIe endpoint to write a magic value back to memory, to signal that it has finished going to sleep. We're not letting the compiler know that this might change underneath our feet though. Let's do that, for good hygiene. I'm not aware of this fixing any concrete problems. I also give no guarantee that this loop is actually correct in any other way, but at least this looks like an improvement to me. Signed-off-by: Brian Norris <briannorris@chromium.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat
-rw-r--r--drivers/net/wireless/marvell/mwifiex/pcie.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/marvell/mwifiex/pcie.c b/drivers/net/wireless/marvell/mwifiex/pcie.c