Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 99362
b: refs/heads/master
c: d109763
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Gleixner committed May 25, 2008
1 parent bcc3409 commit 5fdf93f
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 13 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 55d4f22abc9f011c5db982f83377cdd38bb9a2a3
refs/heads/master: d1097635deed7196c2a859f285c29267779ca45a
1 change: 1 addition & 0 deletions trunk/arch/x86/kernel/mmconf-fam10h_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#include <asm/io.h>
#include <asm/msr.h>
#include <asm/acpi.h>
#include <asm/mmconfig.h>

#include "../pci/pci.h"

Expand Down
13 changes: 1 addition & 12 deletions trunk/arch/x86/kernel/setup_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
#include <asm/topology.h>
#include <asm/trampoline.h>
#include <asm/pat.h>
#include <asm/mmconfig.h>

#include <mach_apic.h>
#ifdef CONFIG_PARAVIRT
Expand Down Expand Up @@ -293,18 +294,6 @@ static void __init parse_setup_data(void)
}
}

#ifdef CONFIG_PCI_MMCONFIG
extern void __cpuinit fam10h_check_enable_mmcfg(void);
extern void __init check_enable_amd_mmconf_dmi(void);
#else
void __cpuinit fam10h_check_enable_mmcfg(void)
{
}
void __init check_enable_amd_mmconf_dmi(void)
{
}
#endif

/*
* setup_arch - architecture-specific boot-time initializations
*
Expand Down
12 changes: 12 additions & 0 deletions trunk/include/asm-x86/mmconfig.h
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

0 comments on commit 5fdf93f

Please sign in to comment.