hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/arch/ia64/include/asm/uv/uv.h
....@@ -2,12 +2,29 @@
22 #ifndef _ASM_IA64_UV_UV_H
33 #define _ASM_IA64_UV_UV_H
44
5
-#include <asm/sn/simulator.h>
5
+#ifdef CONFIG_IA64_SGI_UV
6
+extern bool ia64_is_uv;
67
78 static inline int is_uv_system(void)
89 {
9
- /* temporary support for running on hardware simulator */
10
- return IS_MEDUSA() || ia64_platform_is("uv");
10
+ return ia64_is_uv;
1111 }
1212
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
+
1330 #endif /* _ASM_IA64_UV_UV_H */