aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/i8259.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kvm/i8259.c')
-rw-r--r--arch/x86/kvm/i8259.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/kvm/i8259.c b/arch/x86/kvm/i8259.c
index ab29cf2def47..5857f59ad4aa 100644
--- a/arch/x86/kvm/i8259.c
+++ b/arch/x86/kvm/i8259.c
@@ -346,7 +346,8 @@ static u32 elcr_ioport_read(void *opaque, u32 addr1)
346 return s->elcr; 346 return s->elcr;
347} 347}
348 348
349static int picdev_in_range(struct kvm_io_device *this, gpa_t addr) 349static int picdev_in_range(struct kvm_io_device *this, gpa_t addr,
350 int len, int is_write)
350{ 351{
351 switch (addr) { 352 switch (addr) {
352 case 0x20: 353 case 0x20: