summaryrefslogtreecommitdiff
path: root/arch/x86/xen/xen-ops.h
diff options
context:
space:
mode:
authorTony Luck <tony.luck@intel.com>2019-05-15 18:04:14 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2019-05-15 18:43:46 -0700
commit8a635ffb142125c6637fe71d5cbce25e7dfa275e (patch)
tree003d1b7af85af54a665b439ffa596e133b12c360 /arch/x86/xen/xen-ops.h
parent700a800a949467cb86491763b983e1edcdee8642 (diff)
ia64: Make sure that we have a mmiowb function real early
Generic kernels feed many operation through the "machvec" logic to get the correct form of the operation for the current system. "mmiowb()" is one of those operations. Although machvec is initialized very early in boot, it isn't early enough for a recent upstream kernel change that added mmiowb to the spin_unlock() path. Statically initialize the mmiowb field of machvec so that we won't die with a call through a NULL pointer. This should be safe because we do the real initialization of machvec before bringing up any addtional CPUs or doing any I/O. Fixes: 49ca6462fc9e ("ia64/mmiowb: Add unconditional mmiowb() to arch_spin_unlock()") Signed-off-by: Tony Luck <tony.luck@intel.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/x86/xen/xen-ops.h')
0 files changed, 0 insertions, 0 deletions