Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
uv.h
Go to the documentation of this file.
1 #ifndef _ASM_X86_UV_UV_H
2 #define _ASM_X86_UV_UV_H
3 
5 
6 struct cpumask;
7 struct mm_struct;
8 
9 #ifdef CONFIG_X86_UV
10 
11 extern enum uv_system_type get_uv_system_type(void);
12 extern int is_uv_system(void);
13 extern void uv_cpu_init(void);
14 extern void uv_nmi_init(void);
15 extern void uv_system_init(void);
16 extern const struct cpumask *uv_flush_tlb_others(const struct cpumask *cpumask,
17  struct mm_struct *mm,
18  unsigned long start,
19  unsigned end,
20  unsigned int cpu);
21 
22 #else /* X86_UV */
23 
24 static inline enum uv_system_type get_uv_system_type(void) { return UV_NONE; }
25 static inline int is_uv_system(void) { return 0; }
26 static inline void uv_cpu_init(void) { }
27 static inline void uv_system_init(void) { }
28 static inline const struct cpumask *
29 uv_flush_tlb_others(const struct cpumask *cpumask, struct mm_struct *mm,
30  unsigned long start, unsigned long end, unsigned int cpu)
31 { return cpumask; }
32 
33 #endif /* X86_UV */
34 
35 #endif /* _ASM_X86_UV_UV_H */