summaryrefslogtreecommitdiffstats
path: root/arch/ia64/include/asm/uv/uv.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ia64/include/asm/uv/uv.h')
-rw-r--r--arch/ia64/include/asm/uv/uv.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/ia64/include/asm/uv/uv.h b/arch/ia64/include/asm/uv/uv.h
new file mode 100644
index 000000000..71df93ee3
--- /dev/null
+++ b/arch/ia64/include/asm/uv/uv.h
@@ -0,0 +1,13 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef _ASM_IA64_UV_UV_H
+#define _ASM_IA64_UV_UV_H
+
+#include <asm/sn/simulator.h>
+
+static inline int is_uv_system(void)
+{
+ /* temporary support for running on hardware simulator */
+ return IS_MEDUSA() || ia64_platform_is("uv");
+}
+
+#endif /* _ASM_IA64_UV_UV_H */