HomeFreeBSD

LinuxKPI: extract stringify() in their own header file

Description

LinuxKPI: extract stringify() in their own header file

Add linux/stringify.h as directly included by drivers. Remove the
definitions from compiler.h and include the new header in places
where the stringify macros are already used without linuxkpi.

I have adjusted the Copyright of the new file according to the commit
originaly adding the macros (99e690772adbcb78c9e8441bedcf1913d72ea72f).

Sposnored by: The FreeBSD Foundation
Reviewed by: hselasky
Differential Revision: https://reviews.freebsd.org/D30440

(cherry picked from commit 43b4c00643bacb9d1ba3aa1022648104bc7ff4a2)

Details

Provenance
bzAuthored on May 24 2021, 6:53 PM
Reviewer
hselasky
Differential Revision
D30440: LinuxKPI: extract stringify() in their own header file
Parents
rG9b3c89bdc8b7: LinuxKPI: add kernel_ulong_t typedef in linux/kernel.h.
Branches
Unknown
Tags
Unknown