Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102664327
D38079.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
701 B
Referenced Files
None
Subscribers
None
D38079.diff
View Options
diff --git a/sys/compat/linuxkpi/common/include/linux/hardirq.h b/sys/compat/linuxkpi/common/include/linux/hardirq.h
--- a/sys/compat/linuxkpi/common/include/linux/hardirq.h
+++ b/sys/compat/linuxkpi/common/include/linux/hardirq.h
@@ -40,4 +40,14 @@
#define synchronize_irq(irq) _intr_drain((irq))
+/*
+ * FIXME: In the i915 driver's `intel_engine_cs.c` file,
+ * `synchronize_hardirq()` was replaced by `synchronize_rcu()` with the
+ * following comment:
+ * "Is it enough to wait that all cpu have context-switched?"
+ *
+ * See commit f6d50b7af554e21c380486d6f41c8537b265c777 in drm-kmod.
+ */
+#define synchronize_hardirq(irq) _intr_drain((irq))
+
#endif /* _LINUXKPI_LINUX_HARDIRQ_H_ */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 16, 1:28 PM (21 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14659281
Default Alt Text
D38079.diff (701 B)
Attached To
Mode
D38079: linuxkpi: Define `synchronize_hardirq()`
Attached
Detach File
Event Timeline
Log In to Comment