diff options
author | Cornelia Huck <cornelia.huck@de.ibm.com> | 2012-12-20 14:32:06 (GMT) |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2013-01-07 21:53:37 (GMT) |
commit | 77975357956c6450dd7ac3dfe572c1a8f0014c54 (patch) | |
tree | 51a2c187a5133129f3fe8e6eea4c071416569102 /arch/s390/kvm/priv.c | |
parent | 0ca1b4f4ba3a9f75bb099ccaf6c4bd8bb6db7a74 (diff) | |
download | linux-77975357956c6450dd7ac3dfe572c1a8f0014c54.tar.xz |
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/priv.c')
-rw-r--r-- | arch/s390/kvm/priv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/s390/kvm/priv.c b/arch/s390/kvm/priv.c index d768906..1aeb933 100644 --- a/arch/s390/kvm/priv.c +++ b/arch/s390/kvm/priv.c @@ -297,7 +297,7 @@ out_fail: return 0; } -static intercept_handler_t priv_handlers[256] = { +static const intercept_handler_t priv_handlers[256] = { [0x02] = handle_stidp, [0x10] = handle_set_prefix, [0x11] = handle_store_prefix, @@ -405,7 +405,7 @@ static int handle_sckpf(struct kvm_vcpu *vcpu) return 0; } -static intercept_handler_t x01_handlers[256] = { +static const intercept_handler_t x01_handlers[256] = { [0x07] = handle_sckpf, }; |