HomeFreeBSD

LinuxKPI: Add static_assert() macro

Description

LinuxKPI: Add static_assert() macro

And move it along BUILD_BUG family in to
linux/build_bug.h to match Linux.

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

(cherry picked from commit 31ef29091b0fbadefb4ccfb21e4b30ca7ddca3ed)

Details

Provenance
wulfAuthored on Dec 24 2023, 8:19 AM
Reviewer
manu
Differential Revision
D42800: LinuxKPI: Add static_assert() macro
Parents
rG8291858235d3: LinuxKPI: Implement dev_dbg_once() macro
Branches
Unknown
Tags
Unknown