Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F146353938
D8669.id22588.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
787 B
Referenced Files
None
Subscribers
None
D8669.id22588.diff
View Options
Index: sys/dev/netmap/netmap_freebsd.c
===================================================================
--- sys/dev/netmap/netmap_freebsd.c
+++ 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
Tue, Mar 3, 12:30 AM (8 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29174329
Default Alt Text
D8669.id22588.diff (787 B)
Attached To
Mode
D8669: netmap: add cast to fix powerpc64 LINT kernel
Attached
Detach File
Event Timeline
Log In to Comment