Merge branch 'linus' into x86/x2apic
authorIngo Molnar <mingo@elte.hu>
Mon, 11 Aug 2008 09:19:20 +0000 (11:19 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 11 Aug 2008 09:19:20 +0000 (11:19 +0200)
Conflicts:

arch/x86/kernel/genapic_64.c

Manual merge:

arch/x86/kernel/genx2apic_uv_x.c

Signed-off-by: Ingo Molnar <mingo@elte.hu>
1  2 
Documentation/kernel-parameters.txt
arch/x86/Kconfig
arch/x86/kernel/genx2apic_uv_x.c
arch/x86/kernel/setup.c
arch/x86/lguest/boot.c
kernel/irq/manage.c

Simple merge
Simple merge
  #include <asm/uv/uv_hub.h>
  #include <asm/uv/bios.h>
  
 +DEFINE_PER_CPU(int, x2apic_extra_bits);
 +
 +static enum uv_system_type uv_system_type;
 +
 +static int __init uv_acpi_madt_oem_check(char *oem_id, char *oem_table_id)
 +{
 +      if (!strcmp(oem_id, "SGI")) {
 +              if (!strcmp(oem_table_id, "UVL"))
 +                      uv_system_type = UV_LEGACY_APIC;
 +              else if (!strcmp(oem_table_id, "UVX"))
 +                      uv_system_type = UV_X2APIC;
 +              else if (!strcmp(oem_table_id, "UVH")) {
 +                      uv_system_type = UV_NON_UNIQUE_APIC;
 +                      return 1;
 +              }
 +      }
 +      return 0;
 +}
 +
 +enum uv_system_type get_uv_system_type(void)
 +{
 +      return uv_system_type;
 +}
 +
 +int is_uv_system(void)
 +{
 +      return uv_system_type != UV_NONE;
 +}
++EXPORT_SYMBOL_GPL(is_uv_system);
 +
  DEFINE_PER_CPU(struct uv_hub_info_s, __uv_hub_info);
  EXPORT_PER_CPU_SYMBOL_GPL(__uv_hub_info);
  
Simple merge
Simple merge
Simple merge