X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fdevices%2Fsimple_pic.c;fp=palacios%2Fsrc%2Fdevices%2Fsimple_pic.c;h=11848e0cffc2cbcf068618960d959f3728731c16;hb=7bb4a918835892e9071ffbdef1ea8e57f9a12950;hp=70031116b6cdbf55b418d0fc6b2a76712f2b27c6;hpb=e92ee3df43ad8bb603acce2832a67cc2eea794c0;p=palacios.git diff --git a/palacios/src/devices/simple_pic.c b/palacios/src/devices/simple_pic.c index 7003111..11848e0 100644 --- a/palacios/src/devices/simple_pic.c +++ b/palacios/src/devices/simple_pic.c @@ -62,7 +62,7 @@ static struct intr_ctrl_ops intr_ops = { static int pic_init_device(struct vm_device * dev) { struct pic_internal * data = (struct pic_internal *)dev->private_data; - v3_set_intr_controller(dev->vm, &intr_ops, data); + v3_register_intr_controller(dev->vm, &intr_ops, data); data->pending_irq = 0; return 0;