projects
/
seabios.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f6a74d
)
Fix cpuflag in mptable (| has higher priority than ?:)
author
Kevin O'Connor
<kevin@koconnor.net>
Tue, 10 Nov 2009 00:18:22 +0000
(19:18 -0500)
committer
Kevin O'Connor
<kevin@koconnor.net>
Tue, 10 Nov 2009 00:18:22 +0000
(19:18 -0500)
Signed-off-by: Magnus Christensson <mch@virtutech.com>
src/mptable.c
patch
|
blob
|
history
diff --git
a/src/mptable.c
b/src/mptable.c
index 3945d2e0185b357db9b2927bc52ecc15fc2a7f83..805fe1b9f37d2eccb25355d6966a14be11cc0360 100644
(file)
--- 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) {