Better error message when booting an SMP kernel on an UP system.

This commit is contained in:
Eivind Eklund 2000-09-19 10:40:52 +00:00
parent c16dc61bd2
commit 300019c450
2 changed files with 2 additions and 2 deletions

View File

@ -413,7 +413,7 @@ pmap_bootstrap(firstaddr, loadaddr)
#ifdef SMP
if (cpu_apic_address == 0)
panic("pmap_bootstrap: no local apic!");
panic("pmap_bootstrap: no local apic! (non-SMP hardware?)");
/* local apic is mapped on last page */
SMPpt[NPTEPG - 1] = (pt_entry_t)(PG_V | PG_RW | PG_N | pgeflag |

View File

@ -413,7 +413,7 @@ pmap_bootstrap(firstaddr, loadaddr)
#ifdef SMP
if (cpu_apic_address == 0)
panic("pmap_bootstrap: no local apic!");
panic("pmap_bootstrap: no local apic! (non-SMP hardware?)");
/* local apic is mapped on last page */
SMPpt[NPTEPG - 1] = (pt_entry_t)(PG_V | PG_RW | PG_N | pgeflag |