s390/vdso: convert vdso_init() to arch_initcall
authorHeiko Carstens <hca@linux.ibm.com>
Sun, 24 Jan 2021 18:51:34 +0000 (19:51 +0100)
committerVasily Gorbik <gor@linux.ibm.com>
Tue, 9 Feb 2021 14:57:05 +0000 (15:57 +0100)
commit96c0c7ae5266ec347041312ae22d947b5371e5b3
treeb97bd2b0b6f1e69fed3e0a0492a13a6b17a9836c
parent1432cfe69e25819d96f653a4a44dad41e1163a83
s390/vdso: convert vdso_init() to arch_initcall

Convert vdso_init() to arch_initcall like it is on all other architectures.
This requires to remove the vdso_getcpu_init() call from vdso_init()
since it must be called before smp is enabled.
vdso_getcpu_init() is now an early_initcall like on powerpc.

Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/include/asm/vdso.h
arch/s390/kernel/vdso.c