summaryrefslogtreecommitdiff
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.h12
1 files changed, 12 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 00000000..8f6cbaa7
--- /dev/null
+++ b/arch/ia64/include/asm/uv/uv.h
@@ -0,0 +1,12 @@
+#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 */