aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-09-07 20:58:53 -0400
committerIngo Molnar <mingo@elte.hu>2008-09-08 09:32:01 -0400
commit8d71a2ea0ad4ef9b9076ffd44726bad1f0ccf59b (patch)
tree5a952f766602ca54a916f3659bcc72a5c99ffcfb /arch
parent2b86473604f6e9aef0b5e89c56798a90ccddcdbe (diff)
x86: merge header in amd_64.c
Singed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kernel/cpu/amd.c8
-rw-r--r--arch/x86/kernel/cpu/amd_64.c13
2 files changed, 18 insertions, 3 deletions
diff --git a/arch/x86/kernel/cpu/amd.c b/arch/x86/kernel/cpu/amd.c
index a3a9e3cbdea9..3c8090d10053 100644
--- a/arch/x86/kernel/cpu/amd.c
+++ b/arch/x86/kernel/cpu/amd.c
@@ -1,11 +1,19 @@
1#include <linux/init.h> 1#include <linux/init.h>
2#include <linux/bitops.h> 2#include <linux/bitops.h>
3#include <linux/mm.h> 3#include <linux/mm.h>
4
4#include <asm/io.h> 5#include <asm/io.h>
5#include <asm/processor.h> 6#include <asm/processor.h>
6#include <asm/apic.h> 7#include <asm/apic.h>
7 8
9#ifdef CONFIG_X86_64
10# include <asm/numa_64.h>
11# include <asm/mmconfig.h>
12# include <asm/cacheflush.h>
13#endif
14
8#include <mach_apic.h> 15#include <mach_apic.h>
16
9#include "cpu.h" 17#include "cpu.h"
10 18
11/* 19/*
diff --git a/arch/x86/kernel/cpu/amd_64.c b/arch/x86/kernel/cpu/amd_64.c
index 20c3f12dfe78..1d83601e85ef 100644
--- a/arch/x86/kernel/cpu/amd_64.c
+++ b/arch/x86/kernel/cpu/amd_64.c
@@ -1,9 +1,16 @@
1#include <linux/init.h> 1#include <linux/init.h>
2#include <linux/bitops.h>
2#include <linux/mm.h> 3#include <linux/mm.h>
3 4
4#include <asm/numa_64.h> 5#include <asm/io.h>
5#include <asm/mmconfig.h> 6#include <asm/processor.h>
6#include <asm/cacheflush.h> 7#include <asm/apic.h>
8
9#ifdef CONFIG_X86_64
10# include <asm/numa_64.h>
11# include <asm/mmconfig.h>
12# include <asm/cacheflush.h>
13#endif
7 14
8#include <mach_apic.h> 15#include <mach_apic.h>
9 16