Skip to content

Commit b289645

Browse files
Jiri SlabyKAGA-KOKO
authored andcommitted
x86/platform/uv: Drop last traces of uv_flush_tlb_others
Commit 39297dd ("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 <jslaby@suse.cz> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Mike Travis <mike.travis@hpe.com> Acked-by: Steve Wahl <steve.wahl@hpe.com> Link: https://lore.kernel.org/r/20201109093653.2042-1-jslaby@suse.cz
1 parent f8394f2 commit b289645

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

  • arch/x86/include/asm/uv

arch/x86/include/asm/uv/uv.h

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,8 @@
22
#ifndef _ASM_X86_UV_UV_H
33
#define _ASM_X86_UV_UV_H
44

5-
#include <asm/tlbflush.h>
6-
75
enum uv_system_type {UV_NONE, UV_LEGACY_APIC, UV_X2APIC};
86

9-
struct cpumask;
10-
struct mm_struct;
11-
struct flush_tlb_info;
12-
137
#ifdef CONFIG_X86_UV
148
#include <linux/efi.h>
159

@@ -44,10 +38,6 @@ static inline int is_uv_system(void) { return 0; }
4438
static inline int is_uv_hubbed(int uv) { return 0; }
4539
static inline void uv_cpu_init(void) { }
4640
static inline void uv_system_init(void) { }
47-
static inline const struct cpumask *
48-
uv_flush_tlb_others(const struct cpumask *cpumask,
49-
const struct flush_tlb_info *info)
50-
{ return cpumask; }
5141

5242
#endif /* X86_UV */
5343

0 commit comments

Comments
 (0)