Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v4.15 37 lines 1.1 kB view raw
1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef _ASM_X86_UV_UV_H 3#define _ASM_X86_UV_UV_H 4 5#include <asm/tlbflush.h> 6 7enum uv_system_type {UV_NONE, UV_LEGACY_APIC, UV_X2APIC, UV_NON_UNIQUE_APIC}; 8 9struct cpumask; 10struct mm_struct; 11 12#ifdef CONFIG_X86_UV 13 14extern enum uv_system_type get_uv_system_type(void); 15extern int is_uv_system(void); 16extern int is_uv_hubless(void); 17extern void uv_cpu_init(void); 18extern void uv_nmi_init(void); 19extern void uv_system_init(void); 20extern const struct cpumask *uv_flush_tlb_others(const struct cpumask *cpumask, 21 const struct flush_tlb_info *info); 22 23#else /* X86_UV */ 24 25static inline enum uv_system_type get_uv_system_type(void) { return UV_NONE; } 26static inline int is_uv_system(void) { return 0; } 27static inline int is_uv_hubless(void) { return 0; } 28static inline void uv_cpu_init(void) { } 29static inline void uv_system_init(void) { } 30static inline const struct cpumask * 31uv_flush_tlb_others(const struct cpumask *cpumask, 32 const struct flush_tlb_info *info) 33{ return cpumask; } 34 35#endif /* X86_UV */ 36 37#endif /* _ASM_X86_UV_UV_H */