mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-28 20:37:27 +00:00
c72a5efec1
WARNING: arch/x86/kernel/built-in.o(.cpuinit.text+0x1591): Section mismatch in reference from the function init_amd() to the function .init.text:check_enable_amd_mmconf_dmi() The function __cpuinit init_amd() references a function __init check_enable_amd_mmconf_dmi(). If check_enable_amd_mmconf_dmi is only used by init_amd then annotate check_enable_amd_mmconf_dmi with a matching annotation. check_enable_amd_mmconf_dmi is only called from init_amd which is __cpuinit Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com> Signed-off-by: H. Peter Anvin <hpa@zytor.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
13 lines
321 B
C
13 lines
321 B
C
#ifndef _ASM_MMCONFIG_H
|
|
#define _ASM_MMCONFIG_H
|
|
|
|
#ifdef CONFIG_PCI_MMCONFIG
|
|
extern void __cpuinit fam10h_check_enable_mmcfg(void);
|
|
extern void __cpuinit check_enable_amd_mmconf_dmi(void);
|
|
#else
|
|
static inline void fam10h_check_enable_mmcfg(void) { }
|
|
static inline void check_enable_amd_mmconf_dmi(void) { }
|
|
#endif
|
|
|
|
#endif
|