diff options
author | Gwenolé Beauchesne <gbeauchesne@mandriva.org> | 2006-02-22 15:23:46 +0000 |
---|---|---|
committer | Gwenolé Beauchesne <gbeauchesne@mandriva.org> | 2006-02-22 15:23:46 +0000 |
commit | 36c4810d06cb33ce32212dc84921bbc485143e80 (patch) | |
tree | 3c802cce38904a302ee53455c288ef02d6c5d1d7 | |
parent | 9cb6270ead9ffcb4298e9e97c21855d42432a864 (diff) | |
download | drakx-36c4810d06cb33ce32212dc84921bbc485143e80.tar drakx-36c4810d06cb33ce32212dc84921bbc485143e80.tar.gz drakx-36c4810d06cb33ce32212dc84921bbc485143e80.tar.bz2 drakx-36c4810d06cb33ce32212dc84921bbc485143e80.tar.xz drakx-36c4810d06cb33ce32212dc84921bbc485143e80.zip |
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"
-rw-r--r-- | perl-install/c/smp-dmi.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |