Better error message when booting an SMP kernel on an UP system.
This commit is contained in:
parent
c16dc61bd2
commit
300019c450
@ -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 |
|
||||
|
@ -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 |
|
||||
|
Loading…
Reference in New Issue
Block a user