]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
lib/bootconfig: replace linux/kernel.h with specific includes
authorJosh Law <objecting@objecting.org>
Wed, 18 Mar 2026 15:59:13 +0000 (15:59 +0000)
committerMasami Hiramatsu (Google) <mhiramat@kernel.org>
Wed, 18 Mar 2026 23:44:05 +0000 (08:44 +0900)
commit2564fa0bb2dbee126cac03c9d916e6c6a7910f31
tree56bf988661fab22d38e7ee2743fdf5ef3f90ad55
parent306c36a76da2d6d2b5e91db925d41a9a8d77dbfd
lib/bootconfig: replace linux/kernel.h with specific includes

linux/kernel.h is a legacy catch-all header. Replace it with the
specific headers actually needed: linux/cache.h for SMP_CACHE_BYTES,
linux/compiler.h for unlikely(), and linux/sprintf.h for snprintf().

Link: https://lore.kernel.org/all/20260318155919.78168-8-objecting@objecting.org/
Signed-off-by: Josh Law <objecting@objecting.org>
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
lib/bootconfig.c