diff options
Diffstat (limited to 'arch/powerpc/kvm/mpic.c')
-rw-r--r-- | arch/powerpc/kvm/mpic.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/arch/powerpc/kvm/mpic.c b/arch/powerpc/kvm/mpic.c index 39b3a8f816f2..4703fadd2737 100644 --- a/arch/powerpc/kvm/mpic.c +++ b/arch/powerpc/kvm/mpic.c | |||
@@ -34,7 +34,7 @@ | |||
34 | #include <asm/kvm_para.h> | 34 | #include <asm/kvm_para.h> |
35 | #include <asm/kvm_host.h> | 35 | #include <asm/kvm_host.h> |
36 | #include <asm/kvm_ppc.h> | 36 | #include <asm/kvm_ppc.h> |
37 | #include "iodev.h" | 37 | #include <kvm/iodev.h> |
38 | 38 | ||
39 | #define MAX_CPU 32 | 39 | #define MAX_CPU 32 |
40 | #define MAX_SRC 256 | 40 | #define MAX_SRC 256 |
@@ -1374,8 +1374,9 @@ static int kvm_mpic_write_internal(struct openpic *opp, gpa_t addr, u32 val) | |||
1374 | return -ENXIO; | 1374 | return -ENXIO; |
1375 | } | 1375 | } |
1376 | 1376 | ||
1377 | static int kvm_mpic_read(struct kvm_io_device *this, gpa_t addr, | 1377 | static int kvm_mpic_read(struct kvm_vcpu *vcpu, |
1378 | int len, void *ptr) | 1378 | struct kvm_io_device *this, |
1379 | gpa_t addr, int len, void *ptr) | ||
1379 | { | 1380 | { |
1380 | struct openpic *opp = container_of(this, struct openpic, mmio); | 1381 | struct openpic *opp = container_of(this, struct openpic, mmio); |
1381 | int ret; | 1382 | int ret; |
@@ -1415,8 +1416,9 @@ static int kvm_mpic_read(struct kvm_io_device *this, gpa_t addr, | |||
1415 | return ret; | 1416 | return ret; |
1416 | } | 1417 | } |
1417 | 1418 | ||
1418 | static int kvm_mpic_write(struct kvm_io_device *this, gpa_t addr, | 1419 | static int kvm_mpic_write(struct kvm_vcpu *vcpu, |
1419 | int len, const void *ptr) | 1420 | struct kvm_io_device *this, |
1421 | gpa_t addr, int len, const void *ptr) | ||
1420 | { | 1422 | { |
1421 | struct openpic *opp = container_of(this, struct openpic, mmio); | 1423 | struct openpic *opp = container_of(this, struct openpic, mmio); |
1422 | int ret; | 1424 | int ret; |