Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp2544044ybz; Sun, 3 May 2020 03:33:38 -0700 (PDT) X-Google-Smtp-Source: APiQypJkTXNxuabUVkk8Qld8F9aGO3F4zzowUdgNE/16cIHdtkNd5RK8VZF0xKBxBakzakIo+4RA X-Received: by 2002:a17:906:3584:: with SMTP id o4mr10788087ejb.70.1588502018194; Sun, 03 May 2020 03:33:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588502018; cv=none; d=google.com; s=arc-20160816; b=aBN3c/zzCsOidxVkdSQcc1xgbY1Hauk+d8PM7GmL7xN+oFYrmBlxtho7AsVO4bjX/h kE5sF1WB7KSNnfgoZI52eNr6BN3mjorpJTbUpNxF1cJ48MoB8hjPmqwFu28Dsy0fixTX zYxt4+9dl7F1ZUbgCW2xk5q4Ud+ltiaxr5+cXxGdHCo8yGspojwUR2yA7bzxBh8FuSUc W7+E1rblMUXokDoiIpKS4C5l+YULjm9FV8sjgdJ0xBvINWH8tQBcSZiOH3G4UUqFmWwy CgSUG27S19arjxo6WFEC3jGl5v6v1S/ByX7+4x4QVEXAb+FHUO5fw9VYtkWCPhje5l5d QIIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=ostmp7kykRgcpZMrZEUHwqIHhGgOh09tY8s3r1HU8No=; b=jNcxiD6GNhMxbcK/pNx+iYUD9jTP540KFEf4ieJL37NaB6CahYsw/20GT92Fbu/wRg CAYRfD0Ce06HLQzXODPnYZfrppsmeYQUwS09vXOyEYboRULhVje219kz92qFshLhea8f 88ThbstXBj0ZwxpBFLSUQ5dNnQoFW/4tuyuzqKfoo3/mF8yU6mYNj93CCu7DAmlAD6L/ oQvZ5f1JG/QyDcVIrmzSlEO6SQDUTaYt8ygZLh+v8zkYIafhqBTB1DyNJZ/61OO9+zMe 2a0EKTXSrS0dVEzLb96rWrmCU+CXfzYcSZyO+SKbv96h1Ev2u4mCuGEhVQlc7F5yhqdY dFng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=QmgWuRA9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id qn4si5126523ejb.209.2020.05.03.03.33.13; Sun, 03 May 2020 03:33:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=QmgWuRA9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728021AbgECKbR (ORCPT + 99 others); Sun, 3 May 2020 06:31:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46634 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727051AbgECKbQ (ORCPT ); Sun, 3 May 2020 06:31:16 -0400 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6DFC6C061A0C for ; Sun, 3 May 2020 03:31:16 -0700 (PDT) Received: from zn.tnic (p200300EC2F2A2700882AA5D9A50AC15C.dip0.t-ipconnect.de [IPv6:2003:ec:2f2a:2700:882a:a5d9:a50a:c15c]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 0F6381EC00EE; Sun, 3 May 2020 12:31:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1588501874; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding:in-reply-to: references; bh=ostmp7kykRgcpZMrZEUHwqIHhGgOh09tY8s3r1HU8No=; b=QmgWuRA93FYzkVLEmudPlMGEZycQWHrEoI/lj2gyqCrBLKJG58Y2ZcAgPyKUZBnfTCxaFk hFw2x9wSVHVOhnVbxJFLj6EIkaYXojfmAKc9+1cWGwYOJJs4BHVmY2g60Ha3h90m7jao1g pSS4Ay1+Irprtbiwmx4gHOY+FJnzXvI= From: Borislav Petkov To: X86 ML Cc: LKML Subject: [PATCH] x86/tlb/uv: Add a forward declaration for struct flush_tlb_info Date: Sun, 3 May 2020 12:31:07 +0200 Message-Id: <20200503103107.3419-1-bp@alien8.de> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Borislav Petkov ... to fix these build warnings: In file included from ./arch/x86/include/asm/uv/uv_hub.h:22, from drivers/misc/sgi-gru/grukdump.c:16: ./arch/x86/include/asm/uv/uv.h:39:21: warning: ‘struct flush_tlb_info’ declared \ inside parameter list will not be visible outside of this definition or declaration 39 | const struct flush_tlb_info *info); | ^~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/uv/uv_hub.h:22, from drivers/misc/sgi-gru/grutlbpurge.c:28: ./arch/x86/include/asm/uv/uv.h:39:21: warning: ‘struct flush_tlb_info’ declared \ inside parameter list will not be visible outside of this definition or declaration 39 | const struct flush_tlb_info *info); | ^~~~~~~~~~~~~~ ... after bfe3d8f6313d ("x86/tlb: Restrict access to tlbstate") restricted access to tlbstate. Signed-off-by: Borislav Petkov --- arch/x86/include/asm/uv/uv.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/include/asm/uv/uv.h b/arch/x86/include/asm/uv/uv.h index 45ea95ce79b4..91e088ac6904 100644 --- a/arch/x86/include/asm/uv/uv.h +++ b/arch/x86/include/asm/uv/uv.h @@ -8,6 +8,7 @@ enum uv_system_type {UV_NONE, UV_LEGACY_APIC, UV_X2APIC, UV_NON_UNIQUE_APIC}; struct cpumask; struct mm_struct; +struct flush_tlb_info; #ifdef CONFIG_X86_UV #include -- 2.21.0