summaryrefslogtreecommitdiffstats
path: root/arch/s390/kvm/intercept.c
diff options
context:
space:
mode:
authorCornelia Huck <cornelia.huck@de.ibm.com>2012-12-20 15:32:06 +0100
committerMarcelo Tosatti <mtosatti@redhat.com>2013-01-07 19:53:37 -0200
commit77975357956c6450dd7ac3dfe572c1a8f0014c54 (patch)
tree51a2c187a5133129f3fe8e6eea4c071416569102 /arch/s390/kvm/intercept.c
parent0ca1b4f4ba3a9f75bb099ccaf6c4bd8bb6db7a74 (diff)
downloadblackbird-op-linux-77975357956c6450dd7ac3dfe572c1a8f0014c54.tar.gz
blackbird-op-linux-77975357956c6450dd7ac3dfe572c1a8f0014c54.zip
KVM: s390: Constify intercept handler tables.
These tables are never modified. Reviewed-by: Alexander Graf <agraf@suse.de> Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'arch/s390/kvm/intercept.c')
-rw-r--r--arch/s390/kvm/intercept.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/kvm/intercept.c b/arch/s390/kvm/intercept.c
index 22798ec33fd1..0c08b3f1c1c5 100644
--- a/arch/s390/kvm/intercept.c
+++ b/arch/s390/kvm/intercept.c
@@ -104,7 +104,7 @@ static int handle_lctl(struct kvm_vcpu *vcpu)
return 0;
}
-static intercept_handler_t instruction_handlers[256] = {
+static const intercept_handler_t instruction_handlers[256] = {
[0x01] = kvm_s390_handle_01,
[0x83] = kvm_s390_handle_diag,
[0xae] = kvm_s390_handle_sigp,
OpenPOWER on IntegriCloud