Re: [PATCH v2] MIPS: crash_dump.c: Simplify copy_oldmem_page()
From: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Date: 2021-02-09 12:42:00
Also in:
lkml
From: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Date: 2021-02-09 12:42:00
Also in:
lkml
On Sun, Feb 07, 2021 at 03:24:09PM +0800, Youling Tang wrote:
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. Reported-by: kernel test robot <redacted> Signed-off-by: Youling Tang <redacted> --- v2: - Keep the crash_dump.h header file included to avoid the "no previous prototype for function" warning. arch/mips/kernel/crash_dump.c | 41 ++++++----------------------------------- 1 file changed, 6 insertions(+), 35 deletions(-)
applied to mips-next. Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]