abb1f310e7
[ Upstream commit a9fe7fa7d874a536e0540469f314772c054a0323 ] This change fixes the following: 1) The flags variable is not initialized. Always use raw_spin_lock_irqsave and raw_spin_unlock_irqrestore to serialize patching. 2) flush_kernel_vmap_range is primarily intended for DMA flushes. Since __patch_text_multiple is often called with interrupts disabled, it is better to directly call flush_kernel_dcache_range_asm and flush_kernel_icache_range_asm. This avoids an extra call. 3) The final call to flush_icache_range is unnecessary. Signed-off-by: John David Anglin <dave.anglin@bell.net> Signed-off-by: Helge Deller <deller@gmx.de> Signed-off-by: Sasha Levin <sashal@kernel.org> |
||
---|---|---|
.. | ||
syscalls | ||
.gitignore | ||
alternative.c | ||
asm-offsets.c | ||
audit.c | ||
cache.c | ||
compat_audit.c | ||
drivers.c | ||
entry.S | ||
firmware.c | ||
ftrace.c | ||
hardware.c | ||
head.S | ||
hpmc.S | ||
inventory.c | ||
irq.c | ||
jump_label.c | ||
kexec_file.c | ||
kexec.c | ||
kgdb.c | ||
kprobes.c | ||
Makefile | ||
module.c | ||
pa7300lc.c | ||
pacache.S | ||
parisc_ksyms.c | ||
patch.c | ||
pci-dma.c | ||
pci.c | ||
pdc_chassis.c | ||
pdc_cons.c | ||
pdt.c | ||
perf_asm.S | ||
perf_images.h | ||
perf.c | ||
process.c | ||
processor.c | ||
ptrace.c | ||
real2.S | ||
relocate_kernel.S | ||
setup.c | ||
signal32.c | ||
signal32.h | ||
signal.c | ||
smp.c | ||
stacktrace.c | ||
sys_parisc32.c | ||
sys_parisc.c | ||
syscall.S | ||
time.c | ||
topology.c | ||
traps.c | ||
unaligned.c | ||
unwind.c | ||
vmlinux.lds.S |