Merge r234989 from x86:
Revert part of r234723 by re-enabling the SMP protection for intr_bind().
This commit is contained in:
parent
323d529ebe
commit
d42dce6416
@ -91,8 +91,10 @@ struct intr_vector {
|
||||
extern ih_func_t *intr_handlers[];
|
||||
extern struct intr_vector intr_vectors[];
|
||||
|
||||
#ifdef SMP
|
||||
void intr_add_cpu(u_int cpu);
|
||||
int intr_bind(int vec, u_char cpu);
|
||||
#endif
|
||||
int intr_describe(int vec, void *ih, const char *descr);
|
||||
void intr_setup(int level, ih_func_t *ihf, int pri, iv_func_t *ivf,
|
||||
void *iva);
|
||||
|
@ -555,15 +555,6 @@ intr_shuffle_irqs(void *arg __unused)
|
||||
SYSINIT(intr_shuffle_irqs, SI_SUB_SMP, SI_ORDER_SECOND, intr_shuffle_irqs,
|
||||
NULL);
|
||||
#else /* !SMP */
|
||||
|
||||
/* Return EOPNOTSUPP in the UP case. */
|
||||
int
|
||||
intr_bind(int vec __unused, u_char cpu __unused)
|
||||
{
|
||||
|
||||
return (EOPNOTSUPP);
|
||||
}
|
||||
|
||||
/* Use an empty stub for compatibility. */
|
||||
void
|
||||
intr_add_cpu(u_int cpu __unused)
|
||||
|
Loading…
Reference in New Issue
Block a user