linux_old1/arch
Tony Luck 8a635ffb14 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: 49ca6462fc ("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>
2019-05-15 18:43:46 -07:00
..
alpha init: provide a generic free_initmem implementation 2019-05-14 09:47:47 -07:00
arc init: provide a generic free_initmem implementation 2019-05-14 09:47:47 -07:00
arm More power management updates for 5.2-rc1 2019-05-15 08:46:44 -07:00
arm64 arch: remove <asm/sizes.h> and <asm-generic/sizes.h> 2019-05-14 19:52:52 -07:00
c6x init: provide a generic free_initmem implementation 2019-05-14 09:47:47 -07:00
csky DMA mapping updates for 5.2 2019-05-09 08:40:55 -07:00
h8300 arch: remove <asm/sizes.h> and <asm-generic/sizes.h> 2019-05-14 19:52:52 -07:00
hexagon arch: remove <asm/sizes.h> and <asm-generic/sizes.h> 2019-05-14 19:52:52 -07:00
ia64 ia64: Make sure that we have a mmiowb function real early 2019-05-15 18:43:46 -07:00
m68k mm: memblock: make keeping memblock memory opt-in rather than opt-out 2019-05-14 09:47:50 -07:00
microblaze init: provide a generic free_initmem implementation 2019-05-14 09:47:47 -07:00
mips MIPS: mark __fls() and __ffs() as __always_inline 2019-05-14 19:52:48 -07:00
nds32 The major changes in this tracing update includes: 2019-05-15 16:05:47 -07:00
nios2 mm: memblock: make keeping memblock memory opt-in rather than opt-out 2019-05-14 09:47:50 -07:00
openrisc init: provide a generic free_initmem implementation 2019-05-14 09:47:47 -07:00
parisc The major changes in this tracing update includes: 2019-05-15 16:05:47 -07:00
powerpc The major changes in this tracing update includes: 2019-05-15 16:05:47 -07:00
riscv riscv: switch over to generic free_initmem() 2019-05-14 09:47:47 -07:00
s390 The major changes in this tracing update includes: 2019-05-15 16:05:47 -07:00
sh arch: remove <asm/sizes.h> and <asm-generic/sizes.h> 2019-05-14 19:52:52 -07:00
sparc More power management updates for 5.2-rc1 2019-05-15 08:46:44 -07:00
um initramfs: provide a generic free_initrd_mem implementation 2019-05-14 09:47:47 -07:00
unicore32 arch: remove <asm/sizes.h> and <asm-generic/sizes.h> 2019-05-14 19:52:52 -07:00
x86 The major changes in this tracing update includes: 2019-05-15 16:05:47 -07:00
xtensa xtensa: replace CONFIG_DEBUG_KERNEL with CONFIG_DEBUG_MISC 2019-05-14 19:52:50 -07:00
.gitignore
Kconfig initramfs: move the legacy keepinitrd parameter to core code 2019-05-14 09:47:47 -07:00