From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752205AbcAEQSr (ORCPT ); Tue, 5 Jan 2016 11:18:47 -0500 Received: from mx1.redhat.com ([209.132.183.28]:44435 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751650AbcAEQR4 (ORCPT ); Tue, 5 Jan 2016 11:17:56 -0500 Date: Tue, 5 Jan 2016 18:17:53 +0200 From: "Michael S. Tsirkin" To: linux-kernel@vger.kernel.org Cc: Martin Schwidefsky , Heiko Carstens , Christian Borntraeger , linux-s390@vger.kernel.org Subject: [PATCH] s390: drop smp_mb in vdso_init Message-ID: <1452010645-25380-1-git-send-email-mst@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Mutt-Fcc: =sent Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- Untested. arch/s390/kernel/vdso.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/s390/kernel/vdso.c b/arch/s390/kernel/vdso.c index 59eddb0..a1cfd37 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); -- MST