s390/init: add missing __init annotations
authorIlya Leoshkevich <iii@linux.ibm.com>
Wed, 9 Sep 2020 12:27:25 +0000 (14:27 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Oct 2020 18:40:16 +0000 (20:40 +0200)
commitefa343587005d78dc961eb7c03f64bdd9fe17ca3
tree489fa2b3d5df8ad4ec32be0c01d76dc4b04ae687
parentf18c38ad2d3ed84a5576356a0f6e701a0fc552ff
s390/init: add missing __init annotations

[ Upstream commit fcb2b70cdb194157678fb1a75f9ff499aeba3d2a ]

Add __init to reserve_memory_end, reserve_oldmem and remove_oldmem.
Sometimes these functions are not inlined, and then the build
complains about section mismatch.

Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/s390/kernel/setup.c