Skip to content
Commit 54155df0 authored by Ben Marsh's avatar Ben Marsh Committed by Carles Cufí
Browse files

sys: util: Improve ROUND_UP and ROUND_DOWN macros



Improve utility macros ROUND_UP and ROUND_DOWN to work
with alignments that are not a power of 2.

Signed-off-by: default avatarBen Marsh <ben.marsh@helvar.com>
parent 25c6553e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment