mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-17 16:36:52 +07:00
d1097635de
arch/x86/kernel/mmconf-fam10h_64.c is missing the prototypes, which are decalred in arch/x86/kernel/setup_64.c. Move the prototypes and the inline stubs to the appropriate header file. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
13 lines
318 B
C
13 lines
318 B
C
#ifndef _ASM_MMCONFIG_H
|
|
#define _ASM_MMCONFIG_H
|
|
|
|
#ifdef CONFIG_PCI_MMCONFIG
|
|
extern void __cpuinit fam10h_check_enable_mmcfg(void);
|
|
extern void __init 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
|