-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
x86: move mmconfig declarations to header
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>
- Loading branch information
Thomas Gleixner
authored and
H. Peter Anvin
committed
May 30, 2008
1 parent
1beee8d
commit d364319
Showing
3 changed files
with
14 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#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 |