From: Kevin O'Connor Date: Tue, 27 Jul 2010 02:34:37 +0000 (-0400) Subject: Minor - clarify bit logic in mptable.c. X-Git-Tag: rel-0.6.1~27 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=9fd485148dedfe080831fedb2ad7bf5959766c42;p=seabios.git Minor - clarify bit logic in mptable.c. --- diff --git a/src/mptable.c b/src/mptable.c index bf48a5e..e5952c3 100644 --- a/src/mptable.c +++ b/src/mptable.c @@ -1,6 +1,6 @@ // MPTable generation (on emulators) // -// Copyright (C) 2008,2009 Kevin O'Connor +// Copyright (C) 2008-2010 Kevin O'Connor // Copyright (C) 2006 Fabrice Bellard // // This file may be distributed under the terms of the GNU LGPLv3 license. @@ -59,7 +59,7 @@ mptable_init(void) cpu->apicid = i; cpu->apicver = apic_version; /* cpu flags: enabled, bootstrap cpu */ - cpu->cpuflag = (i < CountCPUs) | ((i == 0) << 1); + cpu->cpuflag = ((icpusignature = cpuid_signature; cpu->featureflag = cpuid_features; cpu++;