diff options
author | Toomas Soome <tsoome@me.com> | 2018-11-21 20:56:23 +0200 |
---|---|---|
committer | Toomas Soome <tsoome@me.com> | 2019-11-14 10:15:20 +0200 |
commit | 158d5b49eb8c84e56cc2259b758a2f2bf876419a (patch) | |
tree | 313e4125703a048511352ba4843d5df1fb607934 /usr | |
parent | 7fd1b424e267a2cdece3dce940e5722f9b785fed (diff) | |
download | illumos-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.c | 5 |
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 */ |