View | Details | Raw Unified | Return to bug 219882 | Differences between
and this patch

Collapse All | Expand All

(-)intr_machdep.c (-1 / +5 lines)
Lines 312-318 intr_assign_cpu(void *arg, int cpu) Link Here
312
312
313
#ifdef EARLY_AP_STARTUP
313
#ifdef EARLY_AP_STARTUP
314
	MPASS(mp_ncpus == 1 || smp_started);
314
	MPASS(mp_ncpus == 1 || smp_started);
315
	if (cpu != NOCPU) {
315
316
	/* Nothing to do if there is only a single CPU. */
317
	if (mp_ncpus > 1 && cpu != NOCPU) {
316
#else
318
#else
317
	/*
319
	/*
318
	 * Don't do anything during early boot.  We will pick up the
320
	 * Don't do anything during early boot.  We will pick up the
Lines 500-505 intr_next_cpu(void) Link Here
500
502
501
#ifdef EARLY_AP_STARTUP
503
#ifdef EARLY_AP_STARTUP
502
	MPASS(mp_ncpus == 1 || smp_started);
504
	MPASS(mp_ncpus == 1 || smp_started);
505
	if (mp_ncpus == 1)
506
		return (PCPU_GET(apic_id));
503
#else
507
#else
504
	/* Leave all interrupts on the BSP during boot. */
508
	/* Leave all interrupts on the BSP during boot. */
505
	if (!assign_cpu)
509
	if (!assign_cpu)

Return to bug 219882