1*b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */ 21965aae3SH. Peter Anvin #ifndef _ASM_X86_MMCONFIG_H 31965aae3SH. Peter Anvin #define _ASM_X86_MMCONFIG_H 4bb898558SAl Viro 5bb898558SAl Viro #ifdef CONFIG_PCI_MMCONFIG 6148f9bb8SPaul Gortmaker extern void fam10h_check_enable_mmcfg(void); 7148f9bb8SPaul Gortmaker extern void check_enable_amd_mmconf_dmi(void); 8bb898558SAl Viro #else fam10h_check_enable_mmcfg(void)9bb898558SAl Virostatic inline void fam10h_check_enable_mmcfg(void) { } check_enable_amd_mmconf_dmi(void)10bb898558SAl Virostatic inline void check_enable_amd_mmconf_dmi(void) { } 11bb898558SAl Viro #endif 12bb898558SAl Viro 131965aae3SH. Peter Anvin #endif /* _ASM_X86_MMCONFIG_H */ 14