Thomas Gleixner
01e11182e7
x86: consolidate the cpu/ related code usage
...
The x86_64 arch/x86/kernel/Makefile uses references into
arch/x86/kernel/cpu/... to use code from there.
Unifiy it with the nicely structured i386 way and reuse the existing
subdirectory make rules.
Also move the machine check related source into ...kernel/cpu/mcheck,
where the other machine check related code is.
No code change.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years ago
Hiroshi Shimamoto
62a31a03b3
x86: unify crash_32/64.c
...
Most of contents in crash are same.
Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
17 years ago
Andi Kleen
54ef34009a
x86: Unify i386 and x86-64 early quirks
...
They were already very similar; just use the same file now.
[ tglx: arch/x86 adaptation ]
Cc: lenb@kernel.org
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
17 years ago
Hiroshi Shimamoto
7778887880
x86: merge init_task_32/64.c
...
Merge init_task_32/64.c.
Move 64bit per cpu data orig_ist to setup64.c.
[ mingo: fixed checkpatch trivialities. ]
Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
17 years ago
Thomas Gleixner
9f75e9b74a
x86_64: remove now unused code
...
Remove the unused code after the switch to clock events.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
17 years ago
Thomas Gleixner
b8ce335906
x86_64: convert to clock events
...
Finally switch to the clockevents code. Share code with i386 for
hpet and PIT.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
17 years ago
Thomas Gleixner
45bc6cd119
x86: sanitize pathes arch/x86/kernel/Makefile_64
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years ago
Thomas Gleixner
250c22777f
x86_64: move kernel
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years ago
Thomas Gleixner
e8d08eb1b5
x86_64: move kernel/acpi
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years ago
Thomas Gleixner
9a163ed8e0
i386: move kernel
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years ago
Thomas Gleixner
f7627e2513
i386: move kernel/cpu
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years ago
Thomas Gleixner
2ec1df4130
i386: move kernel/cpu/mtrr
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years ago
Thomas Gleixner
ee580dc91e
i386: move kernel/cpu/cpufreq
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years ago
Thomas Gleixner
c18db0d7e2
i386: move kernel/cpu/mcheck
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years ago
Thomas Gleixner
a7a67e0e2d
x86_64: prepare shared kernel/Makefile
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years ago
Thomas Gleixner
46b4c119b4
x86_64: prepare shared kernel/pci-gart.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years ago
Thomas Gleixner
f328f81b54
x86_64: prepare shared kernel/syscall.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years ago
Thomas Gleixner
6e04c835f1
x86_64: prepare shared kernel/machine_kexec.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years ago
Thomas Gleixner
977d5654cb
x86_64: prepare shared kernel/head.S
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years ago
Thomas Gleixner
13c4896799
x86_64: prepare shared kernel/tsc.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years ago
Thomas Gleixner
8e59c31a0a
x86_64: prepare shared kernel/entry.S
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years ago
Thomas Gleixner
2a232a7656
x86_64: prepare shared kernel/genapic_flat.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years ago
Thomas Gleixner
81656390b8
x86_64: prepare shared kernel/kprobes.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years ago
Thomas Gleixner
bd4c1b5baa
x86_64: prepare shared kernel/process.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years ago
Thomas Gleixner
e6505ca668
x86_64: prepare shared kernel/x8664_ksyms.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years ago
Thomas Gleixner
5d0c9ec6dd
x86_64: prepare shared kernel/init_task.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years ago
Thomas Gleixner
c76e79e010
x86_64: prepare shared kernel/ldt.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years ago
Thomas Gleixner
0c45a7730b
x86_64: prepare shared kernel/crash_dump.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years ago
Thomas Gleixner
1cce595a83
x86_64: prepare shared kernel/reboot.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years ago
Thomas Gleixner
32404da2ac
x86_64: prepare shared kernel/trampoline.S
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years ago
Thomas Gleixner
201962c9d3
x86_64: prepare shared kernel/irq.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years ago
Thomas Gleixner
7950ca5d01
x86_64: prepare shared kernel/ptrace.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years ago
Thomas Gleixner
2c7de090f8
x86_64: prepare shared kernel/suspend.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years ago
Thomas Gleixner
e877d83a8e
x86_64: prepare shared kernel/audit.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years ago
Thomas Gleixner
abb11834c6
x86_64: prepare shared kernel/time.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years ago
Thomas Gleixner
96a6674c5a
x86_64: prepare shared kernel/mce.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years ago
Thomas Gleixner
1d56734f9e
x86_64: prepare shared kernel/mpparse.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years ago
Thomas Gleixner
93de1ef454
x86_64: prepare shared kernel/pmtimer.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years ago
Thomas Gleixner
1a333ab079
x86_64: prepare shared kernel/early-quirks.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years ago
Thomas Gleixner
a6d83df15c
x86_64: prepare shared kernel/vsmp.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years ago
Thomas Gleixner
198a071dff
x86_64: prepare shared kernel/genapic.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years ago
Thomas Gleixner
3b69915dee
x86_64: prepare shared kernel/bugs.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years ago
Thomas Gleixner
4f1124c5bc
x86_64: prepare shared kernel/pci-swiotlb.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years ago
Thomas Gleixner
eb102ecb73
x86_64: prepare shared kernel/i387.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years ago
Thomas Gleixner
4c1c61c408
x86_64: prepare shared kernel/signal.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years ago
Thomas Gleixner
c4fbd8a946
x86_64: prepare shared kernel/pci-nommu.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years ago
Thomas Gleixner
ba733ec472
x86_64: prepare shared kernel/suspend_asm.S
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years ago
Thomas Gleixner
e86a989de2
x86_64: prepare shared kernel/tce.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years ago
Thomas Gleixner
2cf08fa821
x86_64: prepare shared kernel/ioport.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years ago
Thomas Gleixner
21a4400774
x86_64: prepare shared kernel/vsyscall.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years ago