HomeFreeBSD

sys: use our roundup2/rounddown2() macros when param.h is available.

Description

sys: use our roundup2/rounddown2() macros when param.h is available.

rounddown2 tends to produce longer lines than the original code
and when the code has a high indentation level it was not really
advantageous to do the replacement.

This tries to strike a balance between readability using the macros
and flexibility of having the expressions, so not everything is
converted.

Details

Provenance
pfgAuthored on
Parents
rS298432: Redundant parenthesis from r298431.
Branches
Unknown
Tags
Unknown