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>
Цей коміт міститься в:
Cornelia Huck
2012-12-20 15:32:06 +01:00
зафіксовано Marcelo Tosatti
джерело 0ca1b4f4ba
коміт 7797535795
2 змінених файлів з 3 додано та 3 видалено

Переглянути файл

@@ -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,