summaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2018-11-21 20:56:23 +0200
committerToomas Soome <tsoome@me.com>2019-11-14 10:15:20 +0200
commit158d5b49eb8c84e56cc2259b758a2f2bf876419a (patch)
tree313e4125703a048511352ba4843d5df1fb607934 /usr
parent7fd1b424e267a2cdece3dce940e5722f9b785fed (diff)
downloadillumos-joyent-158d5b49eb8c84e56cc2259b758a2f2bf876419a.tar.gz
11803 evtchn: cast between incompatible function types
Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk> Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr')
-rw-r--r--usr/src/uts/common/xen/io/evtchn_dev.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr/src/uts/common/xen/io/evtchn_dev.c b/usr/src/uts/common/xen/io/evtchn_dev.c
index b4ba63b436..7a8d50eb33 100644
--- a/usr/src/uts/common/xen/io/evtchn_dev.c
+++ b/usr/src/uts/common/xen/io/evtchn_dev.c
@@ -112,8 +112,8 @@ static int evtchndrv_detach(dev_info_t *, ddi_detach_cmd_t);
static struct evtsoftdata *port_user[NR_EVENT_CHANNELS];
static kmutex_t port_user_lock;
-void
-evtchn_device_upcall()
+uint_t
+evtchn_device_upcall(caddr_t arg __unused, caddr_t arg1 __unused)
{
struct evtsoftdata *ep;
int port;
@@ -154,6 +154,7 @@ evtchn_device_upcall()
done:
mutex_exit(&port_user_lock);
+ return (DDI_INTR_CLAIMED);
}
/* ARGSUSED */