summaryrefslogtreecommitdiffstats
path: root/arch/x86/include
diff options
context:
space:
mode:
authorAlexey Dobriyan2018-12-28 09:36:03 +0100
committerLinus Torvalds2018-12-28 21:11:48 +0100
commite5cb113f2dbc8125f31005faebab161a2a84ebe6 (patch)
tree66317fd8b28dcbe4cdaac624edec6d3ae6a9aab5 /arch/x86/include
parentmm/debug.c: make "migrate_reason_names[]" const char * (diff)
downloadkernel-qcow2-linux-e5cb113f2dbc8125f31005faebab161a2a84ebe6.tar.gz
kernel-qcow2-linux-e5cb113f2dbc8125f31005faebab161a2a84ebe6.tar.xz
kernel-qcow2-linux-e5cb113f2dbc8125f31005faebab161a2a84ebe6.zip
mm: make free_reserved_area() return "const char *"
and propagate through down the call stack. Link: http://lkml.kernel.org/r/20181124091411.GC10969@avx2 Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/x86/include')
-rw-r--r--arch/x86/include/asm/processor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/processor.h b/arch/x86/include/asm/processor.h
index 071b2a6fff85..33051436c864 100644
--- a/arch/x86/include/asm/processor.h
+++ b/arch/x86/include/asm/processor.h
@@ -967,7 +967,7 @@ static inline uint32_t hypervisor_cpuid_base(const char *sig, uint32_t leaves)
}
extern unsigned long arch_align_stack(unsigned long sp);
-extern void free_init_pages(char *what, unsigned long begin, unsigned long end);
+void free_init_pages(const char *what, unsigned long begin, unsigned long end);
extern void free_kernel_image_pages(void *begin, void *end);
void default_idle(void);