Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108377551
D35052.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
555 B
Referenced Files
None
Subscribers
None
D35052.diff
View Options
diff --git a/sys/compat/linuxkpi/common/include/linux/irq_work.h b/sys/compat/linuxkpi/common/include/linux/irq_work.h
--- a/sys/compat/linuxkpi/common/include/linux/irq_work.h
+++ b/sys/compat/linuxkpi/common/include/linux/irq_work.h
@@ -63,10 +63,8 @@
static inline bool
irq_work_queue(struct irq_work *irqw)
{
- if(taskqueue_enqueue(linux_irq_work_tq, &irqw->irq_task) == 0)
- return (true);
-
- return (false);
+ return (taskqueue_enqueue_flags(linux_irq_work_tq, &irqw->irq_task,
+ TASKQUEUE_FAIL_IF_PENDING) == 0);
}
static inline void
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jan 25, 7:23 AM (19 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16130618
Default Alt Text
D35052.diff (555 B)
Attached To
Mode
D35052: LinuxKPI: Switch irq_work implementation back to standard taskqueue
Attached
Detach File
Event Timeline
Log In to Comment