aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/hvm/vioapic.c
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-10-28 10:54:50 +0000
committerKeir Fraser <keir.fraser@citrix.com>2009-10-28 10:54:50 +0000
commita8b1845a784516e51266e9f33fc3fe5b1e2790d5 (patch)
treee057fa606799edf4f4fd4af58b5b351ead338549 /xen/arch/x86/hvm/vioapic.c
parent0a7e9c30b5554194b7b3c80ab751f13df0f7607f (diff)
downloadxen-a8b1845a784516e51266e9f33fc3fe5b1e2790d5.tar.gz
xen-a8b1845a784516e51266e9f33fc3fe5b1e2790d5.tar.bz2
xen-a8b1845a784516e51266e9f33fc3fe5b1e2790d5.zip
Miscellaneous data placement adjustments
Make various data items const or __read_mostly where possible/reasonable. Signed-off-by: Jan Beulich <jbeulich@novell.com>
Diffstat (limited to 'xen/arch/x86/hvm/vioapic.c')
-rw-r--r--xen/arch/x86/hvm/vioapic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/arch/x86/hvm/vioapic.c b/xen/arch/x86/hvm/vioapic.c
index 716baa2994..5a4d82730e 100644
--- a/xen/arch/x86/hvm/vioapic.c
+++ b/xen/arch/x86/hvm/vioapic.c
@@ -246,7 +246,7 @@ static int vioapic_range(struct vcpu *v, unsigned long addr)
(addr < vioapic->base_address + VIOAPIC_MEM_LENGTH)));
}
-struct hvm_mmio_handler vioapic_mmio_handler = {
+const struct hvm_mmio_handler vioapic_mmio_handler = {
.check_handler = vioapic_range,
.read_handler = vioapic_read,
.write_handler = vioapic_write