Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F106099317
D8669.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
802 B
Referenced Files
None
Subscribers
None
D8669.diff
View Options
Index: head/sys/dev/netmap/netmap_freebsd.c
===================================================================
--- head/sys/dev/netmap/netmap_freebsd.c
+++ head/sys/dev/netmap/netmap_freebsd.c
@@ -1024,7 +1024,7 @@
mtx_lock(&nmk->worker_lock);
nmk->scheduled++;
if (nmk->worker_ctx.cfg.wchan) {
- wakeup((void *)nmk->worker_ctx.cfg.wchan);
+ wakeup((void *)(uintptr_t)nmk->worker_ctx.cfg.wchan);
}
mtx_unlock(&nmk->worker_lock);
}
@@ -1090,8 +1090,8 @@
continue;
} else if (nmk->run) {
/* wait on event with one second timeout */
- msleep_spin((void *)ctx->cfg.wchan, &nmk->worker_lock,
- "nmk_ev", hz);
+ msleep_spin((void *)(uintptr_t)ctx->cfg.wchan,
+ &nmk->worker_lock, "nmk_ev", hz);
nmk->scheduled++;
}
mtx_unlock(&nmk->worker_lock);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Dec 26, 9:35 AM (11 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15603405
Default Alt Text
D8669.diff (802 B)
Attached To
Mode
D8669: netmap: add cast to fix powerpc64 LINT kernel
Attached
Detach File
Event Timeline
Log In to Comment