Re: [PATCH v2] MIPS: crash_dump.c: Simplify copy_oldmem_page()

From: Thomas Bogendoerfer
Date: Tue Feb 09 2021 - 07:41:57 EST


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 <lkp@xxxxxxxxx>
> Signed-off-by: Youling Tang <tangyouling@xxxxxxxxxxx>
> ---
>
> 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 ]