x86: include CPU ID in "Invalid CPU ID" panic
Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
33a23ef287
commit
fe5d8f7a64
@ -639,7 +639,7 @@ intr_add_cpu(u_int cpu)
|
||||
{
|
||||
|
||||
if (cpu >= MAXCPU)
|
||||
panic("%s: Invalid CPU ID", __func__);
|
||||
panic("%s: Invalid CPU ID %u", __func__, cpu);
|
||||
if (bootverbose)
|
||||
printf("INTR: Adding local APIC %d as a target\n",
|
||||
cpu_apic_ids[cpu]);
|
||||
|
Loading…
Reference in New Issue
Block a user