Please sign in to comment.
include: misc: macros to perform word/pointer boundary alignment
Many things are currently aligned on 32-bit boundaries. On 64-bit targets this should be 64-bit boundaries instead. Provide a pair of macros, namely WB_UP() and WB_DN(), that do the right thing in both cases. The naming is short on purpose as this gets will be used within other macro definitions, sometimes multiple times per line, and having a longer name would make for excessively long lines. Signed-off-by: Nicolas Pitre <firstname.lastname@example.org>
- Loading branch information...