diff options
Diffstat (limited to 'arch/s390/kvm')
-rw-r--r-- | arch/s390/kvm/intercept.c | 2 | ||||
-rw-r--r-- | arch/s390/kvm/priv.c | 4 |
2 files changed, 3 insertions, 3 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) | |||
104 | return 0; | 104 | return 0; |
105 | } | 105 | } |
106 | 106 | ||
107 | static intercept_handler_t instruction_handlers[256] = { | 107 | static const intercept_handler_t instruction_handlers[256] = { |
108 | [0x01] = kvm_s390_handle_01, | 108 | [0x01] = kvm_s390_handle_01, |
109 | [0x83] = kvm_s390_handle_diag, | 109 | [0x83] = kvm_s390_handle_diag, |
110 | [0xae] = kvm_s390_handle_sigp, | 110 | [0xae] = kvm_s390_handle_sigp, |
diff --git a/arch/s390/kvm/priv.c b/arch/s390/kvm/priv.c index d768906f15c8..1aeb9335f9e2 100644 --- a/arch/s390/kvm/priv.c +++ b/arch/s390/kvm/priv.c | |||
@@ -297,7 +297,7 @@ out_fail: | |||
297 | return 0; | 297 | return 0; |
298 | } | 298 | } |
299 | 299 | ||
300 | static intercept_handler_t priv_handlers[256] = { | 300 | static const intercept_handler_t priv_handlers[256] = { |
301 | [0x02] = handle_stidp, | 301 | [0x02] = handle_stidp, |
302 | [0x10] = handle_set_prefix, | 302 | [0x10] = handle_set_prefix, |
303 | [0x11] = handle_store_prefix, | 303 | [0x11] = handle_store_prefix, |
@@ -405,7 +405,7 @@ static int handle_sckpf(struct kvm_vcpu *vcpu) | |||
405 | return 0; | 405 | return 0; |
406 | } | 406 | } |
407 | 407 | ||
408 | static intercept_handler_t x01_handlers[256] = { | 408 | static const intercept_handler_t x01_handlers[256] = { |
409 | [0x07] = handle_sckpf, | 409 | [0x07] = handle_sckpf, |
410 | }; | 410 | }; |
411 | 411 | ||