summaryrefslogtreecommitdiff
path: root/arch/s390
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2016-01-05 18:17:53 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2016-01-11 12:27:22 +0100
commit0dab3e0e59ac3692e2f95cb37ba17d5dfb3d1e5f (patch)
tree37e13b5283560b19facdb02846806a064cf0aeb0 /arch/s390
parentc667aeacc16e0de9e205faa93f57121d6f691973 (diff)
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 <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>
Diffstat (limited to 'arch/s390')
-rw-r--r--arch/s390/kernel/vdso.c2
1 files changed, 0 insertions, 2 deletions
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);