Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 99425
b: refs/heads/master
c: 9e26d84
h: refs/heads/master
i:
  99423: 7c0bf72
v: v3
  • Loading branch information
Robert Richter authored and Ingo Molnar committed Jun 10, 2008
1 parent 26c8703 commit 6f608fd
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 38 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: d44b9d17faf7bca165ce73a1acb936b65a3f0cc6
refs/heads/master: 9e26d84273541a8c6c2efb705457ca8e6245fb73
2 changes: 0 additions & 2 deletions trunk/arch/x86/kernel/cpu/amd.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@
#include <asm/io.h>
#include <asm/processor.h>
#include <asm/apic.h>
#include <asm/mmconfig.h>

#include <mach_apic.h>
#include "../setup.h"
#include "cpu.h"

/*
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/x86/kernel/cpu/amd_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#include <asm/cacheflush.h>

#include <mach_apic.h>
#include "cpu.h"

extern int __cpuinit get_model_name(struct cpuinfo_x86 *c);
extern void __cpuinit display_cacheinfo(struct cpuinfo_x86 *c);
Expand Down
5 changes: 5 additions & 0 deletions trunk/arch/x86/kernel/cpu/cpu.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#ifdef CONFIG_X86_32

struct cpu_model_info {
int vendor;
Expand Down Expand Up @@ -36,3 +37,7 @@ extern struct cpu_vendor_dev __x86cpuvendor_start[], __x86cpuvendor_end[];

extern int get_model_name(struct cpuinfo_x86 *c);
extern void display_cacheinfo(struct cpuinfo_x86 *c);

#endif /* CONFIG_X86_32 */

extern void __cpuinit amd_enable_pci_ext_cfg(struct cpuinfo_x86 *c);
2 changes: 1 addition & 1 deletion trunk/arch/x86/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ void __init setup_per_cpu_areas(void)
setup_cpumask_of_cpu();
}

#endif
#define ENABLE_CF8_EXT_CFG (1ULL << 46)

void __cpuinit amd_enable_pci_ext_cfg(struct cpuinfo_x86 *c)
Expand All @@ -149,4 +150,3 @@ void __cpuinit amd_enable_pci_ext_cfg(struct cpuinfo_x86 *c)
set_cpu_cap(c, X86_FEATURE_PCI_EXT_CFG);
}

#endif
26 changes: 0 additions & 26 deletions trunk/arch/x86/kernel/setup.h

This file was deleted.

2 changes: 0 additions & 2 deletions trunk/arch/x86/kernel/setup_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,6 @@
#include <asm/pat.h>
#include <asm/mmconfig.h>

#include "setup.h"

#include <mach_apic.h>
#ifdef CONFIG_PARAVIRT
#include <asm/paravirt.h>
Expand Down
6 changes: 0 additions & 6 deletions trunk/include/asm-x86/mmconfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,4 @@ static inline void fam10h_check_enable_mmcfg(void) { }
static inline void check_enable_amd_mmconf_dmi(void) { }
#endif

#if defined(CONFIG_SMP) && defined(CONFIG_X86_64)
extern void __cpuinit amd_enable_pci_ext_cfg(struct cpuinfo_x86 *c);
#else
static inline void amd_enable_pci_ext_cfg(struct cpuinfo_x86 *c) { }
#endif

#endif

0 comments on commit 6f608fd

Please sign in to comment.