diff options
author | Glauber de Oliveira Costa <gcosta@redhat.com> | 2008-01-30 07:31:39 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:31:39 -0500 |
commit | 1a53905adddf6cc6d795bd7e988c60a19773f72e (patch) | |
tree | c43a3fadda0a7d35185b283bf05727924c9dccf6 /arch | |
parent | fc87e9061a5635fe1b367dad95498846dd5eda31 (diff) |
x86: move definitions to processor.h
This patch moves definitions that are present in only one of the files
(between processor_32.h and processor_64.h), to processor.h. They're mostly
structures and function definitions.
Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/kernel/cpu/common.c | 2 | ||||
-rw-r--r-- | arch/x86/kernel/setup_64.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c index ecd13c0e854..e48832a6c2a 100644 --- a/arch/x86/kernel/cpu/common.c +++ b/arch/x86/kernel/cpu/common.c | |||
@@ -399,7 +399,7 @@ __setup("serialnumber", x86_serial_nr_setup); | |||
399 | /* | 399 | /* |
400 | * This does the hard work of actually picking apart the CPU stuff... | 400 | * This does the hard work of actually picking apart the CPU stuff... |
401 | */ | 401 | */ |
402 | static void __cpuinit identify_cpu(struct cpuinfo_x86 *c) | 402 | void __cpuinit identify_cpu(struct cpuinfo_x86 *c) |
403 | { | 403 | { |
404 | int i; | 404 | int i; |
405 | 405 | ||
diff --git a/arch/x86/kernel/setup_64.c b/arch/x86/kernel/setup_64.c index 90b8bb4748b..02409100f45 100644 --- a/arch/x86/kernel/setup_64.c +++ b/arch/x86/kernel/setup_64.c | |||
@@ -757,7 +757,7 @@ static void __cpuinit init_amd(struct cpuinfo_x86 *c) | |||
757 | disable_apic_timer = 1; | 757 | disable_apic_timer = 1; |
758 | } | 758 | } |
759 | 759 | ||
760 | static void __cpuinit detect_ht(struct cpuinfo_x86 *c) | 760 | void __cpuinit detect_ht(struct cpuinfo_x86 *c) |
761 | { | 761 | { |
762 | #ifdef CONFIG_SMP | 762 | #ifdef CONFIG_SMP |
763 | u32 eax, ebx, ecx, edx; | 763 | u32 eax, ebx, ecx, edx; |