]> git.ipfire.org Git - thirdparty/linux.git/commit
vdso/datapage: Trim down unnecessary includes
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Fri, 27 Feb 2026 06:44:39 +0000 (07:44 +0100)
committerBorislav Petkov (AMD) <bp@alien8.de>
Wed, 11 Mar 2026 14:22:39 +0000 (15:22 +0100)
commitf5e386fe5f1c26b24fb9ffc616f8e857f43cf88d
tree4a151d74273d9c225c8486c81a0bc6ffcd02125a
parent750d8cc84901757d9e5fe96207f5aa6b3e2acf92
vdso/datapage: Trim down unnecessary includes

vdso/datapage.h includes a lot of headers which are not strictly necessary.
Some of those headers include architecture-specific vDSO headers which
prevent the usage of vdso/datapage.h in kernel code on architectures
without an vDSO. This would be useful however to write generic code using
IS_ENABLED(), for example in drivers/char/random.c.

Remove the unnecessary includes.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://patch.msgid.link/20260227-vdso-header-cleanups-v2-13-35d60acf7410@linutronix.de
include/vdso/datapage.h