]> www.infradead.org Git - users/jedix/linux-maple.git/commit
runtime constants: move list of constants to vmlinux.lds.h
authorJann Horn <jannh@google.com>
Tue, 30 Jul 2024 20:15:16 +0000 (22:15 +0200)
committerArnd Bergmann <arnd@arndb.de>
Mon, 19 Aug 2024 07:48:14 +0000 (09:48 +0200)
commit92a10d3861491d09e73b35db7113dd049659f588
tree889268eaf7b517ff0000a65eb072767d07bf4e45
parent7193b5c4758368c3a0de0cf4fa54bc8697caaf86
runtime constants: move list of constants to vmlinux.lds.h

Refactor the list of constant variables into a macro.
This should make it easier to add more constants in the future.

Signed-off-by: Jann Horn <jannh@google.com>
Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Will Deacon <will@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm64/kernel/vmlinux.lds.S
arch/s390/kernel/vmlinux.lds.S
arch/x86/kernel/vmlinux.lds.S
include/asm-generic/vmlinux.lds.h