Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F141865682
D6498.id16777.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
782 B
Referenced Files
None
Subscribers
None
D6498.id16777.diff
View Options
Index: head/sys/dev/hyperv/vmbus/hv_vmbus_drv_freebsd.c
===================================================================
--- head/sys/dev/hyperv/vmbus/hv_vmbus_drv_freebsd.c
+++ head/sys/dev/hyperv/vmbus/hv_vmbus_drv_freebsd.c
@@ -131,11 +131,9 @@
* message to process - an event or a channel message.
*/
static inline int
-hv_vmbus_isr(struct trapframe *frame)
+hv_vmbus_isr(struct vmbus_softc *sc, struct trapframe *frame, int cpu)
{
- struct vmbus_softc *sc = vmbus_get_softc();
hv_vmbus_message *msg, *msg_base;
- int cpu = curcpu;
/*
* The Windows team has advised that we check for events
@@ -202,7 +200,7 @@
*/
(*VMBUS_SC_PCPU_GET(sc, intr_cnt, cpu))++;
- hv_vmbus_isr(trap_frame);
+ hv_vmbus_isr(sc, trap_frame, cpu);
/*
* Enable preemption.
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jan 12, 4:14 PM (14 h, 38 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27620404
Default Alt Text
D6498.id16777.diff (782 B)
Attached To
Mode
D6498: hyperv/vmbus: Pass vmbus_softc and curcpu to hv_vmbus_isr()
Attached
Detach File
Event Timeline
Log In to Comment