From: Michael S. Tsirkin Date: Tue, 5 Jan 2016 16:17:53 +0000 (+0200) Subject: s390: drop smp_mb in vdso_init X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0dab3e0e59ac3692e2f95cb37ba17d5dfb3d1e5f;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git s390: drop smp_mb in vdso_init The initial s390 vdso code is heavily influenced by the powerpc version which does have a smp_wmb in vdso_init right before the vdso_ready=1 assignment. s390 has no need for that. Signed-off-by: Michael S. Tsirkin Message-Id: <1452010645-25380-1-git-send-email-mst@redhat.com> Signed-off-by: Christian Borntraeger Signed-off-by: Martin Schwidefsky --- diff --git a/arch/s390/kernel/vdso.c b/arch/s390/kernel/vdso.c index 4f07eaced960..604f4a68b524 100644 --- a/arch/s390/kernel/vdso.c +++ b/arch/s390/kernel/vdso.c @@ -299,8 +299,6 @@ static int __init vdso_init(void) get_page(virt_to_page(vdso_data)); - smp_mb(); - return 0; } early_initcall(vdso_init);