HomeFreeBSD

linuxkpi: Update `struct irq_work`

Description

linuxkpi: Update struct irq_work

The previous llnode field is moved inside another field node.

This node field is a struct __call_single_node in Linux. Here, we
simply add an anonymous struct with the llnode field inside. That
field's new name is llist now.

V2: Use an anonymous union to keep the structure backward compatible

with drivers using the previous `llnode` field. This was suggested
by wufl@ and hselasky@. Thank you!

Reviewed by: manu
Approved by: manu
Differential Revision: https://reviews.freebsd.org/D36955

(cherry picked from commit f021c5c4a1770987f01530fa59e5ccba3759c0ab)

Details

Provenance
dumbbellAuthored on Nov 11 2022, 5:32 PM
manuCommitted on Jan 24 2023, 9:08 AM
Reviewer
manu
Differential Revision
D36955: linuxkpi: Update `struct irq_work`
Parents
rGa509f71358b7: linuxkpi: Define `boot_cpu_data.x86_max_cores`
Branches
Unknown
Tags
Unknown