Page MenuHomeFreeBSD

D35052.diff
No OneTemporary

D35052.diff

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

Mime Type
text/plain
Expires
Sat, Jan 25, 7:27 AM (19 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16130618
Default Alt Text
D35052.diff (555 B)

Event Timeline