aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/shutdown.c
diff options
context:
space:
mode:
authorKeir Fraser <keir@xen.org>2010-12-24 10:10:45 +0000
committerKeir Fraser <keir@xen.org>2010-12-24 10:10:45 +0000
commit5814ca6b9c845e77c22fb034e8e7a9b35fe6b59a (patch)
tree2537340f7328351fb2f462d325a89c42befffc3d /xen/common/shutdown.c
parent53ecc28f0e91051cf7874012ea13a6899910b105 (diff)
downloadxen-5814ca6b9c845e77c22fb034e8e7a9b35fe6b59a.tar.gz
xen-5814ca6b9c845e77c22fb034e8e7a9b35fe6b59a.tar.bz2
xen-5814ca6b9c845e77c22fb034e8e7a9b35fe6b59a.zip
Use bool_t for various boolean variables
... decreasing cache footprint. As a prerequisite this requires making cmdline_parse() a little more flexible. Also remove a few variables altogether, and adjust sections annotations for several others. Signed-off-by: Jan Beulich <jbeulich@novell.com> Signed-off-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/common/shutdown.c')
-rw-r--r--xen/common/shutdown.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/common/shutdown.c b/xen/common/shutdown.c
index 6e0b412308..e356e86591 100644
--- a/xen/common/shutdown.c
+++ b/xen/common/shutdown.c
@@ -11,7 +11,7 @@
#include <public/sched.h>
/* opt_noreboot: If true, machine will need manual reset on error. */
-int opt_noreboot;
+bool_t __read_mostly opt_noreboot;
boolean_param("noreboot", opt_noreboot);
static void maybe_reboot(void)