HomeFreeBSD

LinuxKPI: Move [SU](8|16|32|64)_(MAX|MIN) defines to linux/limits.h

Description

LinuxKPI: Move [SU](8|16|32|64)_(MAX|MIN) defines to linux/limits.h

Some source files get them from linux/limits.h directly rather than from
linux/kernel.h.
While here replace Linux constant values with sys/stdint.h provided ones.

Sponsored by: Serenity Cyber Security, LLC
Reviewed by: emaste
MFC after: 1 week

(cherry picked from commit 8cfd1dd821bd8102dd91971c6ac88a64e25057d1)

Details

Provenance
wulfAuthored on Apr 8 2024, 6:47 AM
Parents
rG9319e47c1ab5: LinuxKPI: Add strnchr function
Branches
Unknown
Tags
Unknown