summaryrefslogtreecommitdiff
path: root/bios/rombios32.c
diff options
context:
space:
mode:
Diffstat (limited to 'bios/rombios32.c')
-rwxr-xr-xbios/rombios32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bios/rombios32.c b/bios/rombios32.c
index cceaedef..321563da 100755
--- a/bios/rombios32.c
+++ b/bios/rombios32.c
@@ -633,7 +633,7 @@ void smp_probe(void)
#ifndef BX_QEMU
delay_ms(10);
#else
- while (cmos_readb(0x5f) + 1 != smp_cpus)
+ while (cmos_readb(0x5f) + 1 != readw(&smp_cpus))
;
#endif
}