diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-09-10 16:51:20 +0100 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-09-10 16:51:20 +0100 |
commit | 354aabe18a23a04e0d49fae9771dc6169399008b (patch) | |
tree | 70e3764ec44b80c0bd7a774dbfb781d43da6fca1 /xen/common/shutdown.c | |
parent | 840348501b10e4ccc1f266349c32faadd7e5b945 (diff) | |
download | xen-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.c | 4 |
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 */ } |