aboutsummaryrefslogtreecommitdiffstats
path: root/xen/drivers/acpi
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/drivers/acpi
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/drivers/acpi')
-rw-r--r--xen/drivers/acpi/apei/erst.c4
-rw-r--r--xen/drivers/acpi/osl.c3
2 files changed, 2 insertions, 5 deletions
diff --git a/xen/drivers/acpi/apei/erst.c b/xen/drivers/acpi/apei/erst.c
index 0aeb8f2501..f41322328d 100644
--- a/xen/drivers/acpi/apei/erst.c
+++ b/xen/drivers/acpi/apei/erst.c
@@ -57,8 +57,8 @@
#define FIRMWARE_TIMEOUT (1 * 1000)
#define FIRMWARE_MAX_STALL 50 /* 50us */
-static struct acpi_table_erst *erst_tab;
-static int erst_enabled;
+static struct acpi_table_erst *__read_mostly erst_tab;
+static bool_t __read_mostly erst_enabled;
/* ERST Error Log Address Range atrributes */
#define ERST_RANGE_RESERVED 0x0001
diff --git a/xen/drivers/acpi/osl.c b/xen/drivers/acpi/osl.c
index 07d69aeba0..a86b0e3c0c 100644
--- a/xen/drivers/acpi/osl.c
+++ b/xen/drivers/acpi/osl.c
@@ -63,9 +63,6 @@ EXPORT_SYMBOL(acpi_in_debugger);
extern char line_buf[80];
#endif /*ENABLE_DEBUGGER */
-int acpi_specific_hotkey_enabled = TRUE;
-EXPORT_SYMBOL(acpi_specific_hotkey_enabled);
-
void acpi_os_printf(const char *fmt, ...)
{
va_list args;