]> err.no Git - linux-2.6/commit
x86: reboot_{32|64}.c unification
authorMiguel Boton <mboton.lkml@gmail.com>
Wed, 30 Jan 2008 12:32:51 +0000 (13:32 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:32:51 +0000 (13:32 +0100)
commit4d022e35fd7e07c522c7863fee6f07e53cf3fc14
treeaae7e2633bd2808d812df652e00eb3e2ff4745d1
parent71c339116a216b181fc5e203ef51a033fe5e38cf
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>
arch/x86/kernel/Makefile
arch/x86/kernel/reboot.c [moved from arch/x86/kernel/reboot_32.c with 72% similarity]
arch/x86/kernel/reboot_64.c [deleted file]
include/asm-x86/emergency-restart.h