Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3075333pxb; Mon, 9 Nov 2020 01:38:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJwY/oDT5N1VPMbe7jY8ofKWMhmwxPrVn70yw7b4OtXcYh5F6e/A0IGEUInVjQHSJnMTNQH4 X-Received: by 2002:a17:906:5d9:: with SMTP id t25mr13889214ejt.443.1604914733413; Mon, 09 Nov 2020 01:38:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604914733; cv=none; d=google.com; s=arc-20160816; b=Tqu8aHXC9jsGXgQQIzmI0TA3tAzP4eWDPez54/Y62xs+UNbNe6lW6005gDCZxvZOGP WBg+wNHMBxbB9mJj5JJnwJM2wltlO5PJGmNlOcKOfs4bUO4RGGCjVpjWJQE3e86LjpZx vVoedf+p951B0OAvTpfBPht0afNx7mO3XZbtWYf2bWwbLXnoM43GCDs7vfoxPdOQREhf JgSIdrRNTU/lAXteISmI0OJHXnVUKW1m40HtAo/Xq0n6h8a5HRBOoocLvwejY7zC7qb+ vRMrGflWSyAyymaRLpfQ6DKlr3nblaTM5fyxyuPjz2ntJWPlmJbqLZxyhSB1SHsNnZPv WTUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=o7fEGAUN9H3p9rG1Wqq7raXJqT3wGhrzuQic7F0KeFw=; b=NHFLGZW73iMy+hbrAMe3SbqY+lhOWT8XNE2ryX3NR4gVxEWYX8LwCA30ROvOHwY3ad nE7VhIf5FMLvHCL3zNwr9YyxRzT+2RK/QLVox0eDZWZEOKTzg0OTnuHZzszbgQgcZeIB a7SyEnDDBKJqdxP4P463hnNA+NlsRdvcfyo2MJbpAhc3TXlw8jLws5rcfMv6HzeehBME CmvqN8amitmkKsx8Qzk02rvCj+YJ6FOtQIfhGawhuxaF98JpslWBrnj71ExR7B3TMrV6 CucTRoVVVB4A1kw6XTWB9qNfsYP7wmp3hy83C9pFY1AT1mxTDKaceyGS+NWUxOdbt+RR puGw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dm7si6877130ejc.350.2020.11.09.01.38.29; Mon, 09 Nov 2020 01:38:53 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728462AbgKIJgz (ORCPT + 99 others); Mon, 9 Nov 2020 04:36:55 -0500 Received: from mx2.suse.de ([195.135.220.15]:57788 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726482AbgKIJgz (ORCPT ); Mon, 9 Nov 2020 04:36:55 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 0A368ABCC; Mon, 9 Nov 2020 09:36:54 +0000 (UTC) From: Jiri Slaby To: bp@alien8.de Cc: linux-kernel@vger.kernel.org, Jiri Slaby , Mike Travis , Dimitri Sivanich , Steve Wahl , Russ Anderson , Thomas Gleixner , Ingo Molnar , x86@kernel.org, "H. Peter Anvin" Subject: [PATCH] x86/platform/uv: drop last traces of uv_flush_tlb_others Date: Mon, 9 Nov 2020 10:36:53 +0100 Message-Id: <20201109093653.2042-1-jslaby@suse.cz> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit 39297dde7390 ("x86/platform/uv: Remove UV BAU TLB Shootdown Handler") removed uv_flush_tlb_others. Its declaration was removed also from asm/uv/uv.h. But only for the CONFIG_X86_UV=y case. The inline definition (!X86_UV case) is still in place. So remove this implementation with everything what was added to support uv_flush_tlb_others: * include of asm/tlbflush.h * forward declarations of struct cpumask, mm_struct, and flush_tlb_info Signed-off-by: Jiri Slaby Cc: Mike Travis Cc: Dimitri Sivanich Cc: Steve Wahl Cc: Russ Anderson Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Borislav Petkov Cc: x86@kernel.org Cc: "H. Peter Anvin" --- arch/x86/include/asm/uv/uv.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/arch/x86/include/asm/uv/uv.h b/arch/x86/include/asm/uv/uv.h index 172d3e4a9e4b..648eb23fe7f0 100644 --- a/arch/x86/include/asm/uv/uv.h +++ b/arch/x86/include/asm/uv/uv.h @@ -2,14 +2,8 @@ #ifndef _ASM_X86_UV_UV_H #define _ASM_X86_UV_UV_H -#include - enum uv_system_type {UV_NONE, UV_LEGACY_APIC, UV_X2APIC}; -struct cpumask; -struct mm_struct; -struct flush_tlb_info; - #ifdef CONFIG_X86_UV #include @@ -44,10 +38,6 @@ static inline int is_uv_system(void) { return 0; } static inline int is_uv_hubbed(int uv) { return 0; } static inline void uv_cpu_init(void) { } static inline void uv_system_init(void) { } -static inline const struct cpumask * -uv_flush_tlb_others(const struct cpumask *cpumask, - const struct flush_tlb_info *info) -{ return cpumask; } #endif /* X86_UV */ -- 2.29.2