]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit301c306bd36da1a0cf503b060baa9c3fcf40678e
treee68ced26e1c1bebef4c1eb75f5a4a6a1ac0d3805
parent527cee63ff3ce54a735f04bb1fada396c8ee231c
[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]