diff options
| author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2012-03-11 11:59:25 -0400 |
|---|---|---|
| committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2012-03-11 11:59:27 -0400 |
| commit | 7e180bd8020d213bb0de15c3606968f8a9262439 (patch) | |
| tree | d9c15fa4c129b723f80cc46cd87cbcb12eb77c7b /arch/s390/kvm/interrupt.c | |
| parent | 4fdf7f432cc5db9531c03b9689b36a6395935fbc (diff) | |
[S390] rename lowcore field
The 16 bit value at the lowcore location with offset 0x84 is the
cpu address that is associated with an external interrupt. Rename
the field from cpu_addr to ext_cpu_addr to make that clear.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kvm/interrupt.c')
| -rw-r--r-- | arch/s390/kvm/interrupt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/s390/kvm/interrupt.c b/arch/s390/kvm/interrupt.c index 278ee009ce65..f0647ce6da21 100644 --- a/arch/s390/kvm/interrupt.c +++ b/arch/s390/kvm/interrupt.c | |||
| @@ -134,7 +134,7 @@ static void __do_deliver_interrupt(struct kvm_vcpu *vcpu, | |||
| 134 | if (rc == -EFAULT) | 134 | if (rc == -EFAULT) |
| 135 | exception = 1; | 135 | exception = 1; |
| 136 | 136 | ||
| 137 | rc = put_guest_u16(vcpu, __LC_CPU_ADDRESS, inti->emerg.code); | 137 | rc = put_guest_u16(vcpu, __LC_EXT_CPU_ADDR, inti->emerg.code); |
| 138 | if (rc == -EFAULT) | 138 | if (rc == -EFAULT) |
| 139 | exception = 1; | 139 | exception = 1; |
| 140 | 140 | ||
| @@ -156,7 +156,7 @@ static void __do_deliver_interrupt(struct kvm_vcpu *vcpu, | |||
| 156 | if (rc == -EFAULT) | 156 | if (rc == -EFAULT) |
| 157 | exception = 1; | 157 | exception = 1; |
| 158 | 158 | ||
| 159 | rc = put_guest_u16(vcpu, __LC_CPU_ADDRESS, inti->extcall.code); | 159 | rc = put_guest_u16(vcpu, __LC_EXT_CPU_ADDR, inti->extcall.code); |
| 160 | if (rc == -EFAULT) | 160 | if (rc == -EFAULT) |
| 161 | exception = 1; | 161 | exception = 1; |
| 162 | 162 | ||
| @@ -202,7 +202,7 @@ static void __do_deliver_interrupt(struct kvm_vcpu *vcpu, | |||
| 202 | if (rc == -EFAULT) | 202 | if (rc == -EFAULT) |
| 203 | exception = 1; | 203 | exception = 1; |
| 204 | 204 | ||
| 205 | rc = put_guest_u16(vcpu, __LC_CPU_ADDRESS, 0x0d00); | 205 | rc = put_guest_u16(vcpu, __LC_EXT_CPU_ADDR, 0x0d00); |
| 206 | if (rc == -EFAULT) | 206 | if (rc == -EFAULT) |
| 207 | exception = 1; | 207 | exception = 1; |
| 208 | 208 | ||
