HomeFreeBSD

LinuxKPI: Remove sys/rman.h include from LKPI headers.

Description

LinuxKPI: Remove sys/rman.h include from LKPI headers.

sys/rman.h defines resource structure which conflicts with the Linux
structure of the same name. To fix that remove reference to sys/rman.h
from linux/pci.h and move resource management code to linux_pci.c.
Update consumers which were depending on linux/pci.h pollution.

No functional changes intended.

Sponsored by: Serenity Cyber Security, LLC
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D42792

Details

Provenance
wulfAuthored on Dec 24 2023, 8:19 AM
Differential Revision
D42792: LinuxKPI: Remove sys/rman.h include from LKPI headers.
Parents
rG0ee1cd6da960: vm_page.h: tweak page-busied assertion macros
Branches
Unknown
Tags
Unknown