Merge tag 'x86-urgent-2024-11-03' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull x86 fix from Thomas Gleixner:
"A trivial compile test fix for x86:

When CONFIG_AMD_NB is not set a COMPILE_TEST of an AMD specific driver
fails due to a missing inline stub. Add the stub to cure it"

* tag 'x86-urgent-2024-11-03' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
x86/amd_nb: Fix compile-testing without CONFIG_AMD_NB

+4 -1
+4 -1
arch/x86/include/asm/amd_nb.h
··· 116 116 117 117 #define amd_nb_num(x) 0 118 118 #define amd_nb_has_feature(x) false 119 - #define node_to_amd_nb(x) NULL 119 + static inline struct amd_northbridge *node_to_amd_nb(int node) 120 + { 121 + return NULL; 122 + } 120 123 #define amd_gart_present(x) false 121 124 122 125 #endif