aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/keyhandler.c
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-09-10 16:51:20 +0100
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-09-10 16:51:20 +0100
commit354aabe18a23a04e0d49fae9771dc6169399008b (patch)
tree70e3764ec44b80c0bd7a774dbfb781d43da6fca1 /xen/common/keyhandler.c
parent840348501b10e4ccc1f266349c32faadd7e5b945 (diff)
downloadxen-354aabe18a23a04e0d49fae9771dc6169399008b.tar.gz
xen-354aabe18a23a04e0d49fae9771dc6169399008b.tar.bz2
xen-354aabe18a23a04e0d49fae9771dc6169399008b.zip
Change prototype of machine_restart to void machine_restart(void).
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/common/keyhandler.c')
-rw-r--r--xen/common/keyhandler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/common/keyhandler.c b/xen/common/keyhandler.c
index e6e4d296ab..f7756cd324 100644
--- a/xen/common/keyhandler.c
+++ b/xen/common/keyhandler.c
@@ -123,7 +123,7 @@ static void dump_registers(unsigned char key, struct cpu_user_regs *regs)
static void halt_machine(unsigned char key, struct cpu_user_regs *regs)
{
printk("'%c' pressed -> rebooting machine\n", key);
- machine_restart(NULL);
+ machine_restart();
}
static void cpuset_print(char *set, int size, cpumask_t mask)