HomeFreeBSD

linuxkpi: Add `list_for_each_prev_safe()` in <linux/list.h>

Description

linuxkpi: Add list_for_each_prev_safe() in <linux/list.h>

[Why]
The amdgpu DRM driver started to use it in Linux 5.18.

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

(cherry picked from commit b723bcd05a991d446491e914f2b9f35e66227398)

Details

Provenance
dumbbellAuthored on Dec 8 2023, 9:53 PM
wulfCommitted on Feb 17 2024, 8:58 PM
Reviewer
manu
Differential Revision
D43021: linuxkpi: Add `list_for_each_prev_safe()` in <linux/list.h>
Parents
rG3b97bdb453d1: linuxkpi: Move `struct kobject` code to `linux_kobject.c`
Branches
Unknown
Tags
Unknown