Merge tag 'regulator-v3.13' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie...
[deliverable/linux.git] / arch / x86 / include / asm / uv / uv.h
1 #ifndef _ASM_X86_UV_UV_H
2 #define _ASM_X86_UV_UV_H
3
4 enum uv_system_type {UV_NONE, UV_LEGACY_APIC, UV_X2APIC, UV_NON_UNIQUE_APIC};
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_register_nmi_notifier(void);
16 extern void uv_system_init(void);
17 extern const struct cpumask *uv_flush_tlb_others(const struct cpumask *cpumask,
18 struct mm_struct *mm,
19 unsigned long start,
20 unsigned long end,
21 unsigned int cpu);
22
23 #else /* X86_UV */
24
25 static inline enum uv_system_type get_uv_system_type(void) { return UV_NONE; }
26 static inline int is_uv_system(void) { return 0; }
27 static inline void uv_cpu_init(void) { }
28 static inline void uv_system_init(void) { }
29 static inline void uv_register_nmi_notifier(void) { }
30 static inline const struct cpumask *
31 uv_flush_tlb_others(const struct cpumask *cpumask, struct mm_struct *mm,
32 unsigned long start, unsigned long end, unsigned int cpu)
33 { return cpumask; }
34
35 #endif /* X86_UV */
36
37 #endif /* _ASM_X86_UV_UV_H */
This page took 0.032317 seconds and 5 git commands to generate.