Sam Ravnborg
d746d647f3
x86: do not use $(ARCH) when not needed
...
For x86 ARCH may say i386 or x86_64 and soon x86.
Rely on CONFIG_X64_32 to select between 32/64 or just
hardcode the value as appropriate.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
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>
18 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>
18 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>
18 years ago
Sam Ravnborg
b381a14288
x86: fix kernel rebuild due to vsyscall fallout
...
Fix rebuild of kernel when there is no changes.
This happened for i386.
Using make V=2 hinted that the output files were
not assigned to targets - fixed by this patch.
Reported by: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
18 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>
18 years ago
Andres Salomon
83d7384f8d
x86: Geode Multi-Function General Purpose Timers support
...
This adds support for Multi-Function General Purpose Timers. It detects the
available timers during southbridge init, and provides an API for allocating
and setting the timers. They're higher resolution than the standard PIT, so
the MFGPTs come in handy for quite a few things.
Note that we never clobber the timers that the BIOS might have opted to use;
we just check for unused timers.
Signed-off-by: Jordan Crouse <jordan.crouse@amd.com>
Signed-off-by: Andres Salomon <dilinger@debian.org>
Cc: Andi Kleen <ak@suse.de>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
18 years ago
Thomas Gleixner
c668ce14f5
x86: sanitize pathes arch/x86/kernel/Makefile_32
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 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>
18 years ago
Thomas Gleixner
9a163ed8e0
i386: move kernel
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 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>
18 years ago
Thomas Gleixner
23d6f82bd1
i386: move kernel/acpi
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
e1589cd4cb
i386: prepare shared kernel/Makefile
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
565b56cc99
i386: prepare shared kernel/vsyscall-note.S
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
fcaf15d788
i386: prepare shared kernel/machine_kexec.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
deb8677148
i386: prepare shared kernel/head.S
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
76ea2ec68b
i386: prepare shared kernel/tsc.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
668a3bf76e
i386: prepare shared kernel/entry.S
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
930eed490c
i386: prepare shared kernel/kprobes.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
b4f127b931
i386: prepare shared kernel/process.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
6ddf195840
i386: prepare shared kernel/init_task.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
0c67e102ea
i386: prepare shared kernel/ldt.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
26ab6533a6
i386: prepare shared kernel/crash_dump.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
c94905c5c1
i386: prepare shared kernel/reboot.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
826c0e9e6c
i386: prepare shared kernel/trampoline.S
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
b352b7fe22
i386: prepare shared kernel/irq.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
8260dc3791
i386: prepare shared kernel/ptrace.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
a0d557e2c2
i386: prepare shared kernel/apm.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
bb2c787b41
i386: prepare shared kernel/scx200.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
f5a08b90f0
i386: prepare shared kernel/time.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
ee8b55e53c
i386: prepare shared kernel/mpparse.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
5bdef8fd61
i386: prepare shared kernel/vsyscall-sysenter.S
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
128ffcdab2
i386: prepare shared kernel/doublefault.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
f14ff3c8f1
i386: prepare shared kernel/i386_ksyms.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
aeb369d26e
i386: prepare shared kernel/mca.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
4f09b00fce
i386: prepare shared kernel/smpcommon.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
30271a7477
i386: prepare shared kernel/numaq.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
eea21b3055
i386: prepare shared kernel/i387.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
24d8d25f15
i386: prepare shared kernel/reboot_fixups.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
2512e7c5c1
i386: prepare shared kernel/signal.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
a584dfcc68
i386: prepare shared kernel/summit.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
24f5b95bb9
i386: prepare shared kernel/vsyscall-int80.S
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
d4c3a41e9a
i386: prepare shared kernel/ioport.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
549c64ac41
i386: prepare shared kernel/setup.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
016f8118b4
i386: prepare shared kernel/geode.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
0273be2dce
i386: prepare shared kernel/smpboot.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
5d43542f0c
i386: prepare shared kernel/e820.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
a6424facfa
i386: prepare shared kernel/sysenter.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
ae47fd49c7
i386: prepare shared kernel/hpet.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
77399ad90a
i386: prepare shared kernel/nmi.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago