lkml.org 
[lkml]   [2021]   [Feb]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2] MIPS: crash_dump.c: Simplify copy_oldmem_page()
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@intel.com>
> Signed-off-by: Youling Tang <tangyouling@loongson.cn>
> ---
>
> 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 ]

\
 
 \ /
  Last update: 2021-02-09 13:43    [W:0.081 / U:1.860 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site