HomeFreeBSD

Prefer using the MIN() function macro over the min() inline function

Description

Prefer using the MIN() function macro over the min() inline function
in the LinuxKPI. Linux defines min() to be a macro, while in FreeBSD
min() is a static inline function clamping its arguments to
"unsigned int".

MFC after: 1 week
Sponsored by: Mellanox Technologies // NVIDIA Networking

Details

Provenance
hselaskyAuthored on
Parents
rS368405: Allow sys/refcount.h to be used by standalone builds.
Branches
Unknown
Tags
Unknown