diff options
author | Keir Fraser <keir@xen.org> | 2010-12-24 10:10:45 +0000 |
---|---|---|
committer | Keir Fraser <keir@xen.org> | 2010-12-24 10:10:45 +0000 |
commit | 5814ca6b9c845e77c22fb034e8e7a9b35fe6b59a (patch) | |
tree | 2537340f7328351fb2f462d325a89c42befffc3d /xen/drivers/char/console.c | |
parent | 53ecc28f0e91051cf7874012ea13a6899910b105 (diff) | |
download | xen-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/drivers/char/console.c')
-rw-r--r-- | xen/drivers/char/console.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xen/drivers/char/console.c b/xen/drivers/char/console.c index a7ac4f59c1..fba702deed 100644 --- a/xen/drivers/char/console.c +++ b/xen/drivers/char/console.c @@ -49,15 +49,15 @@ static unsigned char __read_mostly opt_conswitch[3] = "a"; string_param("conswitch", opt_conswitch); /* sync_console: force synchronous console output (useful for debugging). */ -static int __read_mostly opt_sync_console; +static bool_t __initdata opt_sync_console; boolean_param("sync_console", opt_sync_console); /* console_to_ring: send guest (incl. dom 0) console data to console ring. */ -static int __read_mostly opt_console_to_ring; +static bool_t __read_mostly opt_console_to_ring; boolean_param("console_to_ring", opt_console_to_ring); /* console_timestamps: include a timestamp prefix on every Xen console line. */ -static int __read_mostly opt_console_timestamps; +static bool_t __read_mostly opt_console_timestamps; boolean_param("console_timestamps", opt_console_timestamps); /* conring_size: allows a large console ring than default (16kB). */ |