blob: 48d4526bf4cd5af35a3ded26dc87ef6d9f0d1687 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001/* 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
6extern bool ia64_is_uv;
7
8static inline int is_uv_system(void)
9{
10 return ia64_is_uv;
11}
12
13void __init uv_probe_system_type(void);
14void __init uv_setup(char **cmdline_p);
15#else /* CONFIG_IA64_SGI_UV */
16static inline int is_uv_system(void)
17{
18 return false;
19}
20
21static inline void __init uv_probe_system_type(void)
22{
23}
24
25static inline void __init uv_setup(char **cmdline_p)
26{
27}
28#endif /* CONFIG_IA64_SGI_UV */
29
30#endif /* _ASM_IA64_UV_UV_H */