diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2018-12-28 00:36:03 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-12-28 12:11:48 -0800 |
commit | e5cb113f2dbc8125f31005faebab161a2a84ebe6 (patch) | |
tree | 66317fd8b28dcbe4cdaac624edec6d3ae6a9aab5 /arch/x86/mm/init.c | |
parent | 9a2f45ff320287d49a3cd90ce68cb58a6da6f5e1 (diff) | |
download | blackbird-op-linux-e5cb113f2dbc8125f31005faebab161a2a84ebe6.tar.gz blackbird-op-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/mm/init.c')
-rw-r--r-- | arch/x86/mm/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/mm/init.c b/arch/x86/mm/init.c index 427a955a2cf2..f905a2371080 100644 --- a/arch/x86/mm/init.c +++ b/arch/x86/mm/init.c @@ -742,7 +742,7 @@ int devmem_is_allowed(unsigned long pagenr) return 1; } -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) { unsigned long begin_aligned, end_aligned; |