linuxkpi: Define synchronize_hardirq()
It currently does the same as `synchronize_irq()`. Reviewed by: manu Approved by: manu Differential Revision: https://reviews.freebsd.org/D38079
This commit is contained in:
parent
976aa07a88
commit
a609ed7959
@ -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_ */
|
||||
|
Loading…
Reference in New Issue
Block a user