aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/hvm/vlapic.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2012-09-14 14:28:59 +0200
committerJan Beulich <jbeulich@suse.com>2012-09-14 14:28:59 +0200
commit26c465b52783ca11cd79e231caf8fad08e276cf7 (patch)
tree88b4b2321d461e3a034a2c447746d44f40400465 /xen/arch/x86/hvm/vlapic.c
parent00f05388a688508f8a6b0c82d281aebd90a37d4e (diff)
downloadxen-26c465b52783ca11cd79e231caf8fad08e276cf7.tar.gz
xen-26c465b52783ca11cd79e231caf8fad08e276cf7.tar.bz2
xen-26c465b52783ca11cd79e231caf8fad08e276cf7.zip
x86/hvm: constify static data where possible
In a few cases this also extends to making them static in the first place. Signed-off-by: Jan Beulich <jbeulich@suse.com> Acked-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/arch/x86/hvm/vlapic.c')
-rw-r--r--xen/arch/x86/hvm/vlapic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/arch/x86/hvm/vlapic.c b/xen/arch/x86/hvm/vlapic.c
index 82a86aae9a..8a7b362cbb 100644
--- a/xen/arch/x86/hvm/vlapic.c
+++ b/xen/arch/x86/hvm/vlapic.c
@@ -53,7 +53,7 @@
LVT_MASK | APIC_MODE_MASK | APIC_INPUT_POLARITY |\
APIC_LVT_REMOTE_IRR | APIC_LVT_LEVEL_TRIGGER
-static unsigned int vlapic_lvt_mask[VLAPIC_LVT_NUM] =
+static const unsigned int vlapic_lvt_mask[VLAPIC_LVT_NUM] =
{
/* LVTT */
LVT_MASK | APIC_TIMER_MODE_MASK,