Commit 73cbcfe2 authored by Peter Zijlstra's avatar Peter Zijlstra
Browse files

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: 4d6dd05d ("sched/topology: Fix sched domain build error for GNR, CWF in SNC-3 mode")
Reported-by: default avatarBorislav Petkov <bp@alien8.de>
Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
parent 4c953807
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -325,4 +325,6 @@ static inline void freq_invariance_set_perf_ratio(u64 ratio, bool turbo_disabled
extern void arch_scale_freq_tick(void);
#define arch_scale_freq_tick arch_scale_freq_tick

extern int arch_sched_node_distance(int from, int to);

#endif /* _ASM_X86_TOPOLOGY_H */