summaryrefslogtreecommitdiff
path: root/include/asm-x86/genapic_64.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_64.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_64.h')
-rw-r--r--include/asm-x86/genapic_64.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-x86/genapic_64.h b/include/asm-x86/genapic_64.h
index d7e516ccbaa4..914815c28ae5 100644
--- a/include/asm-x86/genapic_64.h
+++ b/include/asm-x86/genapic_64.h
@@ -33,5 +33,10 @@ extern struct genapic *genapic;
extern struct genapic apic_flat;
extern struct genapic apic_physflat;
+extern int acpi_madt_oem_check(char *, char *);
+
+enum uv_system_type {UV_NONE, UV_LEGACY_APIC, UV_X2APIC, UV_NON_UNIQUE_APIC};
+extern enum uv_system_type get_uv_system_type(void);
+extern int is_uv_system(void);
#endif