Mercurial > illumos > git > illumos-gate
changeset 19204:26d09deca6b7
11805 generic_cpu: cast between incompatible function types
Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk>
Approved by: Dan McDonald <danmcd@joyent.com>
author | Toomas Soome <tsoome@me.com> |
---|---|
date | Wed, 21 Nov 2018 21:09:33 +0200 |
parents | eb8d09180e07 |
children | dfaac52c1671 |
files | usr/src/uts/i86xpv/cpu/generic_cpu/gcpu_poll_xpv.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/usr/src/uts/i86xpv/cpu/generic_cpu/gcpu_poll_xpv.c Wed Nov 21 21:04:18 2018 +0200 +++ b/usr/src/uts/i86xpv/cpu/generic_cpu/gcpu_poll_xpv.c Wed Nov 21 21:09:33 2018 +0200 @@ -74,7 +74,7 @@ #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_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); } }