On Mon, Feb 27, 2023, Ackerley Tng wrote:
This provides alignment macros for use in selftests.
Also clean up tools/include/linux/bitmap.h's inline definition of IS_ALIGNED().
Signed-off-by: Ackerley Tng ackerleytng@google.com
tools/include/linux/align.h | 15 +++++++++++++++ tools/include/linux/bitmap.h | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 tools/include/linux/align.h
Anyone object to pulling in align.h? I'd be more than happy to take this through the KVM tree, which is the motivation/context (we want to use the various macros in KVM selftests).
Thanks!