]> git.baikalelectronics.ru Git - kernel.git/commit
x86/mm/set_memory: Fix -Wmissing-prototypes warnings
authorBenjamin Thiel <b.thiel@posteo.de>
Fri, 27 Mar 2020 10:26:06 +0000 (11:26 +0100)
committerBorislav Petkov <bp@suse.de>
Fri, 27 Mar 2020 10:26:06 +0000 (11:26 +0100)
commit53845cc26b8e46fb98e1ef2ce61263d1ed62dc0e
tree30715c35be0c0066084539cbb4ca82acab52d19d
parentcaf4d21324953299c9822db176c4c819c8b03fdc
x86/mm/set_memory: Fix -Wmissing-prototypes warnings

Add missing includes and move prototypes into the header set_memory.h in
order to fix -Wmissing-prototypes warnings.

 [ bp: Add ifdeffery around arch_invalidate_pmem() ]

Signed-off-by: Benjamin Thiel <b.thiel@posteo.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20200320145028.6013-1-b.thiel@posteo.de
arch/x86/include/asm/set_memory.h
arch/x86/mm/pat/set_memory.c
arch/x86/mm/pti.c