s390: drop smp_mb in vdso_init
authorMichael S. Tsirkin <mst@redhat.com>
Tue, 5 Jan 2016 16:17:53 +0000 (18:17 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 11 Jan 2016 11:27:22 +0000 (12:27 +0100)
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 <mst@redhat.com>
Message-Id: <1452010645-25380-1-git-send-email-mst@redhat.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/vdso.c

index 4f07eaced960633340c0c28ab3bd7cb125af12b9..604f4a68b524e2098b90c4a97e6540f7d64965b3 100644 (file)
@@ -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);