xref: /openbmc/linux/arch/ia64/include/asm/uv/uv.h (revision f7af616c)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_IA64_UV_UV_H
3 #define _ASM_IA64_UV_UV_H
4 
5 #ifdef CONFIG_IA64_SGI_UV
6 extern bool ia64_is_uv;
7 
8 static inline int is_uv_system(void)
9 {
10 	return ia64_is_uv;
11 }
12 
13 void __init uv_probe_system_type(void);
14 void __init uv_setup(char **cmdline_p);
15 #else /* CONFIG_IA64_SGI_UV */
16 static inline int is_uv_system(void)
17 {
18 	return false;
19 }
20 
21 static inline void __init uv_probe_system_type(void)
22 {
23 }
24 
25 static inline void __init uv_setup(char **cmdline_p)
26 {
27 }
28 #endif /* CONFIG_IA64_SGI_UV */
29 
30 #endif	/* _ASM_IA64_UV_UV_H */
31