]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
vdso: Introduce vdso/align.h
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Tue, 4 Feb 2025 12:05:35 +0000 (13:05 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 21 Feb 2025 08:54:01 +0000 (09:54 +0100)
commit5b47aba858101639a4442c2140b73f64eb796ed1
treef9192d8a6a18820486a64d4d58b7304e68e25755
parent30533a55ec8e6cd532989421a2d99ec422396fce
vdso: Introduce vdso/align.h

The vDSO implementation can only include headers from the vdso/
namespace. To enable the usage of the ALIGN() macro from the vDSO, move
linux/align.h to vdso/align.h wholly.
As the only dependency linux/const.h is only a wrapper around
vdso/const.h anyways adapt that dependency.

Also provide a compatibility wrapper linux/align.h.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20250204-vdso-store-rng-v3-3-13a4669dfc8c@linutronix.de
include/linux/align.h
include/vdso/align.h [new file with mode: 0644]