hyperv/vmbus: Fix mismerge of r301015

Submitted by:	Oliver Pinter <oliver.pinter hardenedbsd org>
Sponsored by:	Microsoft OSTC
This commit is contained in:
Sepherosa Ziehau 2016-06-27 01:17:00 +00:00
parent 8e8d4c7040
commit 5119948815
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/stable/10/; revision=302220

View File

@ -404,7 +404,7 @@ vmbus_vector_alloc(void)
/*
* Search backwards form the highest IDT vector available for use
* as vmbus channel callback vector. We install 'hv_vmbus_callback'
* as vmbus channel callback vector. We install 'vmbus_isr'
* handler at that vector and use it to interrupt vcpus.
*/
vector = APIC_SPURIOUS_INT;
@ -443,7 +443,7 @@ vmbus_vector_free(int vector)
ip = &idt[vector];
func = ((long)ip->gd_hioffset << 16 | ip->gd_looffset);
KASSERT(func == (uintptr_t)&IDTVEC(hv_vmbus_callback),
KASSERT(func == (uintptr_t)&IDTVEC(vmbus_isr),
("invalid vector %d", vector));
setidt(vector, IDTVEC(rsvd), SDT_SYSIGT, SEL_KPL, 0);