s390/mm: make vmemmap_free() only for CONFIG_MEMORY_HOTPLUG available
authorHeiko Carstens <hca@linux.ibm.com>
Mon, 16 Oct 2023 10:17:59 +0000 (12:17 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Thu, 19 Oct 2023 14:36:21 +0000 (16:36 +0200)
commit4f62c6e30155c7a85ed74e52bb8c71e7b0879cb3
treee179ea2fb56bb468e328092f6f112ef181689671
parent7bc8b8eb2b1e7b06d14bacf964fa25f74a2b87e5
s390/mm: make vmemmap_free() only for CONFIG_MEMORY_HOTPLUG available

Get rid of this W=1 compile warning:

arch/s390/mm/vmem.c:502:6: warning: no previous prototype for ‘vmemmap_free’ [-Wmissing-prototypes]
  502 | void vmemmap_free(unsigned long start, unsigned long end,
      |      ^~~~~~~~~~~~

Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/mm/vmem.c