From 36c4810d06cb33ce32212dc84921bbc485143e80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwenol=C3=A9=20Beauchesne?= Date: Wed, 22 Feb 2006 15:23:46 +0000 Subject: Check the socket is populated during dmi smp detection. I know, the code is no longer used, but let's make it as "don't get gb depressed for reading SMBIOS spec for nothing" --- perl-install/c/smp-dmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/c/smp-dmi.c b/perl-install/c/smp-dmi.c index 60a92b9d6..71c905925 100644 --- a/perl-install/c/smp-dmi.c +++ b/perl-install/c/smp-dmi.c @@ -229,7 +229,7 @@ static int processor(u8 *data) { struct dmi_header *dm = (struct dmi_header *)data; if((dm->type == 4) && /*"Central Processor"*/(data[5] == 3)) { - if(/*Processor Manufacturer*/data[7] != 0) + if(/*Processor Manufacturer*/data[7] != 0 && /*Populated*/(data[0x18] & (1 << 6))) return 1; } return 0; -- cgit v1.2.1