summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2018-11-21 21:09:33 +0200
committerToomas Soome <tsoome@me.com>2019-11-14 10:19:46 +0200
commit5328fc53d11d7151861fa272e4fb0248b8f0e145 (patch)
treefee880c2fa60664f70e05216c5e62993ee8d975b
parent4224cf35431a1b80d14862409ecf0beeaa49e0d8 (diff)
downloadillumos-joyent-5328fc53d11d7151861fa272e4fb0248b8f0e145.tar.gz
11805 generic_cpu: cast between incompatible function types
Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk> Approved by: Dan McDonald <danmcd@joyent.com>
-rw-r--r--usr/src/uts/i86xpv/cpu/generic_cpu/gcpu_poll_xpv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/uts/i86xpv/cpu/generic_cpu/gcpu_poll_xpv.c b/usr/src/uts/i86xpv/cpu/generic_cpu/gcpu_poll_xpv.c
index 8bc46f8e3e..a7745fd3f2 100644
--- a/usr/src/uts/i86xpv/cpu/generic_cpu/gcpu_poll_xpv.c
+++ b/usr/src/uts/i86xpv/cpu/generic_cpu/gcpu_poll_xpv.c
@@ -74,7 +74,7 @@ static gcpu_poll_trace_ctl_t gcpu_xpv_poll_trace_ctl;
#define GCPU_XPV_MCH_POLL_NO_REARM NULL
static uint_t
-gcpu_xpv_virq_intr(void)
+gcpu_xpv_virq_intr(caddr_t arg __unused, caddr_t arg1 __unused)
{
int types[] = { XEN_MC_URGENT, XEN_MC_NONURGENT };
uint64_t fetch_id;
@@ -194,7 +194,7 @@ gcpu_mca_poll_start(cmi_hdl_t hdl)
*/
gcpu_xpv_virq_vect = ec_bind_virq_to_irq(VIRQ_MCA, 0);
(void) add_avintr(NULL, gcpu_xpv_virq_level,
- (avfunc)gcpu_xpv_virq_intr, "MCA", gcpu_xpv_virq_vect,
+ gcpu_xpv_virq_intr, "MCA", gcpu_xpv_virq_vect,
NULL, NULL, NULL, NULL);
}
}