aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/shutdown.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/shutdown.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/shutdown.c')
-rw-r--r--xen/common/shutdown.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xen/common/shutdown.c b/xen/common/shutdown.c
index a994e14bfc..a3d48bf899 100644
--- a/xen/common/shutdown.c
+++ b/xen/common/shutdown.c
@@ -24,7 +24,7 @@ static void maybe_reboot(void)
printk("rebooting machine in 5 seconds.\n");
watchdog_disable();
mdelay(5000);
- machine_restart(NULL);
+ machine_restart();
}
}
@@ -50,7 +50,7 @@ void dom0_shutdown(u8 reason)
case SHUTDOWN_reboot:
{
printk("Domain 0 shutdown: rebooting machine.\n");
- machine_restart(NULL);
+ machine_restart();
break; /* not reached */
}