Ingo Molnar
aba8391f73
x86: rodata config hookup
...
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
17 years ago
Michael Opdenacker
67926892ef
x86: fix unconditional arch/x86/kernel/pcspeaker.o compiling
...
do not add the pcspkr platform device if pcspkr support is disabled.
Signed-off-by: Michael Opdenacker <michael@free-electrons.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
17 years ago
mboton@gmail.com
ccafa59a00
x86: ioport_{32|64}.c unification
...
ioport_{32|64}.c unification.
This patch unifies the code from the ioport_32.c and ioport_64.c files.
Tested and working fine with i386 and x86_64 kernels.
Signed-off-by: Miguel Botón <mboton@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
17 years ago
Huang, Ying
6d7d743375
x86 boot : export boot_params via debugfs for debugging
...
This patch export the boot parameters via debugfs for debugging.
The files added are as follow:
boot_params/data : binary file for struct boot_params
boot_params/version : boot protocol version
This patch is based on 2.6.24-rc5-mm1 and has been tested on i386 and
x86_64 platform.
This patch is based on the Peter Anvin's proposal.
Signed-off-by: Huang Ying <ying.huang@intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years ago
Miguel Boton
4d022e35fd
x86: reboot_{32|64}.c unification
...
reboot_{32|64}.c unification patch.
This patch unifies the code from the reboot_32.c and reboot_64.c files.
It has been tested in computers with X86_32 and X86_64 kernels and it
looks like all reboot modes work fine (EFI restart system hasn't been
tested yet).
Probably I made some mistakes (like I usually do) so I hope
we can identify and fix them soon.
Signed-off-by: Miguel Boton <mboton@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
17 years ago
Sam Ravnborg
6b0c3d44d3
x86: unify arch/x86/kernel/Makefile(s)
...
Combine the 32 and 64 bit specific Makefiles in one file.
While doing so link order was (almost) preserved on 32 bit
but on 64 bit link order changed a lot.
Patch was checked with defconfig + allyesconfig builds.
The same .o files were linked in these configurations.
To keep readability of the Makefiles a few Kconfig
symbols was added/modified and it was checked that
they were not used anywhere else.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
17 years ago
Sam Ravnborg
88e4d25023
x86: delete vsyscall files during make clean
...
make clean failed to delete a few files in
x86/kernel. This is because kbuild does not
see the correct/full kernel/Makefile.
As a workaround until the Makefiles are merged specify
the files to be deleted in the common Makefile.
Reported by Mike Galbraith <efault@gmx.de>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Mike Galbraith <efault@gmx.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
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
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
Thomas Gleixner
45da5aa235
i386: prepare shared kernel/sys_i386.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
0cc369a273
i386: prepare shared kernel/apic.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
b9fe30ac5c
i386: prepare shared kernel/paravirt.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago