From: Kevin O'Connor Date: Tue, 10 Nov 2009 00:18:22 +0000 (-0500) Subject: Fix cpuflag in mptable (| has higher priority than ?:) X-Git-Tag: rel-0.5.0~41 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=57219d80d86c396c9a94229ed30600d4622808da;p=seabios.git Fix cpuflag in mptable (| has higher priority than ?:) Signed-off-by: Magnus Christensson --- diff --git a/src/mptable.c b/src/mptable.c index 3945d2e..805fe1b 100644 --- a/src/mptable.c +++ b/src/mptable.c @@ -60,7 +60,7 @@ mptable_init(void) cpu->apicver = 0x11; /* cpu flags: enabled, bootstrap cpu */ if (i < CountCPUs) - cpu->cpuflag = 1 | (i == 0) ? 2 : 0; + cpu->cpuflag = 1 | ((i == 0) ? 2 : 0); else cpu->cpuflag = 0; if (cpuid_signature) {