summaryrefslogtreecommitdiff
path: root/arch/ia64/include/asm/uv/uv.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-02-13 12:05:57 (GMT)
committerIngo Molnar <mingo@elte.hu>2009-02-13 12:05:57 (GMT)
commitd040c1614c24162adc3fe106b182596999264e26 (patch)
tree5af02052e633bcde0e33f77cac52ab4685ad07f1 /arch/ia64/include/asm/uv/uv.h
parentd88316c243e5458a1888edbe0353c4dec6e61c73 (diff)
parent7032e8696726354d6180d8a2d17191f958cd93ae (diff)
downloadlinux-fsl-qoriq-d040c1614c24162adc3fe106b182596999264e26.tar.xz
Merge branch 'x86/core' into x86/headers
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 0000000..61b5bdf
--- /dev/null
+++ b/arch/ia64/include/asm/uv/uv.h
@@ -0,0 +1,13 @@
+#ifndef _ASM_IA64_UV_UV_H
+#define _ASM_IA64_UV_UV_H
+
+#include <asm/system.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 */