summaryrefslogtreecommitdiff
path: root/arch/s390/kernel
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2016-01-05 16:17:53 (GMT)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2016-01-11 11:27:22 (GMT)
commit0dab3e0e59ac3692e2f95cb37ba17d5dfb3d1e5f (patch)
tree37e13b5283560b19facdb02846806a064cf0aeb0 /arch/s390/kernel
parentc667aeacc16e0de9e205faa93f57121d6f691973 (diff)
downloadlinux-0dab3e0e59ac3692e2f95cb37ba17d5dfb3d1e5f.tar.xz
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/kernel')
-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 4f07eac..604f4a6 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);