diff options
author | Jan Beulich <jbeulich@suse.com> | 2012-09-14 14:28:59 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2012-09-14 14:28:59 +0200 |
commit | 26c465b52783ca11cd79e231caf8fad08e276cf7 (patch) | |
tree | 88b4b2321d461e3a034a2c447746d44f40400465 /xen/arch/x86/hvm/vlapic.c | |
parent | 00f05388a688508f8a6b0c82d281aebd90a37d4e (diff) | |
download | xen-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.c | 2 |
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, |