[PATCH] i386: Add machine_ops interface to abstract halting and rebooting
authorJeremy Fitzhardinge <jeremy@goop.org>
Wed, 2 May 2007 17:27:11 +0000 (19:27 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Wed, 2 May 2007 17:27:11 +0000 (19:27 +0200)
commit07f3331c6bfd27a06dfb0ca9fa4f06dec6606876
treee68ced26e1c1bebef4c1eb75f5a4a6a1ac0d3805
parent01a2f435564b4baab61328b4018d36464468f57b
[PATCH] i386: Add machine_ops interface to abstract halting and rebooting

machine_ops is an interface for the machine_* functions defined in
<linux/reboot.h>.  This is intended to allow hypervisors to intercept
the reboot process, but it could be used to implement other x86
subarchtecture reboots.

Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
Signed-off-by: Andi Kleen <ak@suse.de>
arch/i386/kernel/apm.c
arch/i386/kernel/reboot.c
include/asm-i386/reboot.h [new file with mode: 0644]