x86, uv, uv3: Update ACPI Check to include SGI UV3
authorMike Travis <travis@sgi.com>
Mon, 11 Feb 2013 19:45:10 +0000 (13:45 -0600)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 12 Feb 2013 01:17:44 +0000 (17:17 -0800)
Add UV3 to exclusion list.  Instead of adding every new series of
SGI UV systems, just check oem_id to have a prefix of "SGI".

Signed-off-by: Mike Travis <travis@sgi.com>
Link: http://lkml.kernel.org/r/20130211194508.457937455@gulag1.americas.sgi.com
Acked-by: Russ Anderson <rja@sgi.com>
Reviewed-by: Dimitri Sivanich <sivanich@sgi.com>
Cc: Jiang Liu <liuj97@gmail.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Yinghai Lu <yinghai@kernel.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/pci/mmconfig-shared.c

index fb29968a7cd54c164286a09f9f8721144180f3d0..082e88129712b4eb9e2027852c890a02ff31a1c7 100644 (file)
@@ -548,8 +548,7 @@ static int __init acpi_mcfg_check_entry(struct acpi_table_mcfg *mcfg,
        if (cfg->address < 0xFFFFFFFF)
                return 0;
 
-       if (!strcmp(mcfg->header.oem_id, "SGI") ||
-                       !strcmp(mcfg->header.oem_id, "SGI2"))
+       if (!strncmp(mcfg->header.oem_id, "SGI", 3))
                return 0;
 
        if (mcfg->header.revision >= 1) {
This page took 0.079678 seconds and 5 git commands to generate.