Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108092991
D38241.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
955 B
Referenced Files
None
Subscribers
None
D38241.diff
View Options
diff --git a/sys/compat/linuxkpi/common/include/linux/interrupt.h b/sys/compat/linuxkpi/common/include/linux/interrupt.h
--- a/sys/compat/linuxkpi/common/include/linux/interrupt.h
+++ b/sys/compat/linuxkpi/common/include/linux/interrupt.h
@@ -43,6 +43,9 @@
typedef irqreturn_t (*irq_handler_t)(int, void *);
#define IRQF_SHARED RF_SHAREABLE
+#define IRQF_NOBALANCING 0
+
+#define IRQ_DISABLE_UNLAZY 0
int lkpi_request_irq(struct device *, unsigned int, irq_handler_t,
irq_handler_t, unsigned long, const char *, void *);
@@ -100,6 +103,12 @@
lkpi_disable_irq(irq);
}
+static inline void
+disable_irq_nosync(unsigned int irq)
+{
+ lkpi_disable_irq(irq);
+}
+
static inline int
bind_irq_to_cpu(unsigned int irq, int cpu_id)
{
@@ -138,6 +147,11 @@
return (lkpi_pci_msi_desc_alloc(irq));
}
+static inline void
+irq_set_status_flags(unsigned int irq __unused, unsigned long flags __unused)
+{
+}
+
/*
* LinuxKPI tasklet support
*/
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jan 22, 7:51 AM (18 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16026860
Default Alt Text
D38241.diff (955 B)
Attached To
Mode
D38241: LinuxKPI: interrupt.h: add disable_irq_nosync(), irq_set_status_flags()
Attached
Detach File
Event Timeline
Log In to Comment