Skip to content

Commit

Permalink
s390: drop smp_mb in vdso_init
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Michael S. Tsirkin authored and Martin Schwidefsky committed Jan 11, 2016
1 parent c667aea commit 0dab3e0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/s390/kernel/vdso.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

0 comments on commit 0dab3e0

Please sign in to comment.