]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: crash_dump.c: Simplify copy_oldmem_page()
authorYouling Tang <tangyouling@loongson.cn>
Sun, 7 Feb 2021 07:24:09 +0000 (15:24 +0800)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Tue, 9 Feb 2021 12:30:12 +0000 (13:30 +0100)
commitde79dddcaab341a85de1cbc8aa3c33e747abd71f
treea2cd09a4e2532cf6e8167a18abe0b17e1cc024ef
parent06b9982548b49b53cc2d0898ebb26ca9ee4e7d36
MIPS: crash_dump.c: 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.

Remove unused or redundant header files.

Signed-off-by: Youling Tang <tangyouling@loongson.cn>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/kernel/crash_dump.c