]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
sched/topology,x86: Fix build warning
authorPeter Zijlstra <peterz@infradead.org>
Thu, 16 Oct 2025 10:58:34 +0000 (12:58 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Thu, 16 Oct 2025 11:01:15 +0000 (13:01 +0200)
commit73cbcfe255f7edca915d978a7d1b0a11f2d62812
tree522cf65332f7c398f50784cb14fb4d101e041725
parent4c95380701f58b8112f0b891de8d160e4199e19d
sched/topology,x86: Fix build warning

A compile warning slipped through:

   arch/x86/kernel/smpboot.c:548:5: warning: no previous prototype for function 'arch_sched_node_distance' [-Wmissing-prototypes]

Fixes: 4d6dd05d07d0 ("sched/topology: Fix sched domain build error for GNR, CWF in SNC-3 mode")
Reported-by: Borislav Petkov <bp@alien8.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
arch/x86/include/asm/topology.h