x86/crashdump/32: Simplify copy_oldmem_page()
authorThomas Gleixner <tglx@linutronix.de>
Wed, 18 Nov 2020 19:48:46 +0000 (20:48 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 24 Nov 2020 13:42:09 +0000 (14:42 +0100)
commit7e015a279853e747f5d4f957855ec5310848c501
tree6fc9b359e5e80091aca57b4332bb8537d59b1399
parente66f6e095486f0210fcf3c5eb3ecf13fa348be4c
x86/crashdump/32: Simplify copy_oldmem_page()

Replace kmap_atomic_pfn() with kmap_local_pfn() which is preemptible and
can take page faults.

Remove the indirection of the dump page and the related cruft which is not
longer required.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20201118204007.670851839@linutronix.de
arch/x86/kernel/crash_dump_32.c