summaryrefslogtreecommitdiffstats
path: root/include/asm-x86/genapic_32.h
diff options
context:
space:
mode:
authorJack Steiner <steiner@sgi.com>2008-03-28 14:12:06 -0500
committerIngo Molnar <mingo@elte.hu>2008-04-17 17:41:33 +0200
commitae261868658773538ddda829c50224e5851c2342 (patch)
treec6176e3c2bffae7307f32900a723e49efb2d6246 /include/asm-x86/genapic_32.h
parent05f2d12c3563dea8c81b301f9f3cf7919af23b13 (diff)
x86: add functions to determine if platform is a UV platform
Add functions that can be used to determine if an x86_64 system is a SGI "UV" system. UV systems come in 3 types and are identified by the OEM ID in the MADT. Signed-off-by: Jack Steiner <steiner@sgi.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/genapic_32.h')
-rw-r--r--include/asm-x86/genapic_32.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-x86/genapic_32.h b/include/asm-x86/genapic_32.h
index 5fa893dce72..f1b96932746 100644
--- a/include/asm-x86/genapic_32.h
+++ b/include/asm-x86/genapic_32.h
@@ -114,4 +114,9 @@ struct genapic {
extern struct genapic *genapic;
+enum uv_system_type {UV_NONE, UV_LEGACY_APIC, UV_X2APIC, UV_NON_UNIQUE_APIC};
+#define get_uv_system_type() UV_NONE
+#define is_uv_system() 0
+
+
#endif