18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci#ifndef _ASM_IA64_UV_UV_H 38c2ecf20Sopenharmony_ci#define _ASM_IA64_UV_UV_H 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci#ifdef CONFIG_IA64_SGI_UV 68c2ecf20Sopenharmony_ciextern bool ia64_is_uv; 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_cistatic inline int is_uv_system(void) 98c2ecf20Sopenharmony_ci{ 108c2ecf20Sopenharmony_ci return ia64_is_uv; 118c2ecf20Sopenharmony_ci} 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_civoid __init uv_probe_system_type(void); 148c2ecf20Sopenharmony_civoid __init uv_setup(char **cmdline_p); 158c2ecf20Sopenharmony_ci#else /* CONFIG_IA64_SGI_UV */ 168c2ecf20Sopenharmony_cistatic inline int is_uv_system(void) 178c2ecf20Sopenharmony_ci{ 188c2ecf20Sopenharmony_ci return false; 198c2ecf20Sopenharmony_ci} 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_cistatic inline void __init uv_probe_system_type(void) 228c2ecf20Sopenharmony_ci{ 238c2ecf20Sopenharmony_ci} 248c2ecf20Sopenharmony_ci 258c2ecf20Sopenharmony_cistatic inline void __init uv_setup(char **cmdline_p) 268c2ecf20Sopenharmony_ci{ 278c2ecf20Sopenharmony_ci} 288c2ecf20Sopenharmony_ci#endif /* CONFIG_IA64_SGI_UV */ 298c2ecf20Sopenharmony_ci 308c2ecf20Sopenharmony_ci#endif /* _ASM_IA64_UV_UV_H */ 31