xref: /linux/arch/x86/include/asm/mmconfig.h (revision 498495dba268b20e8eadd7fe93c140c68b6cc9d2)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_X86_MMCONFIG_H
3 #define _ASM_X86_MMCONFIG_H
4 
5 #ifdef CONFIG_PCI_MMCONFIG
6 extern void fam10h_check_enable_mmcfg(void);
7 extern void check_enable_amd_mmconf_dmi(void);
8 #else
fam10h_check_enable_mmcfg(void)9 static inline void fam10h_check_enable_mmcfg(void) { }
check_enable_amd_mmconf_dmi(void)10 static inline void check_enable_amd_mmconf_dmi(void) { }
11 #endif
12 
13 #endif /* _ASM_X86_MMCONFIG_H */
14