• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/x86/include/asm/uv/
1#ifndef _ASM_X86_UV_UV_H
2#define _ASM_X86_UV_UV_H
3
4enum uv_system_type {UV_NONE, UV_LEGACY_APIC, UV_X2APIC, UV_NON_UNIQUE_APIC};
5
6struct cpumask;
7struct mm_struct;
8
9#ifdef CONFIG_X86_UV
10
11extern enum uv_system_type get_uv_system_type(void);
12extern int is_uv_system(void);
13extern void uv_cpu_init(void);
14extern void uv_nmi_init(void);
15extern void uv_system_init(void);
16extern const struct cpumask *uv_flush_tlb_others(const struct cpumask *cpumask,
17						 struct mm_struct *mm,
18						 unsigned long va,
19						 unsigned int cpu);
20
21#else	/* X86_UV */
22
23static inline enum uv_system_type get_uv_system_type(void) { return UV_NONE; }
24static inline int is_uv_system(void)	{ return 0; }
25static inline void uv_cpu_init(void)	{ }
26static inline void uv_system_init(void)	{ }
27static inline const struct cpumask *
28uv_flush_tlb_others(const struct cpumask *cpumask, struct mm_struct *mm,
29		    unsigned long va, unsigned int cpu)
30{ return cpumask; }
31
32#endif	/* X86_UV */
33
34#endif	/* _ASM_X86_UV_UV_H */
35