summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2018-10-21 16:05:21 +0300
committerToomas Soome <tsoome@me.com>2019-10-01 12:37:52 +0300
commit16d00323713cfa922181df7d69d973398dea15ff (patch)
tree7dbede6a6fed211bcc6e3a045bffaf8dfaf0447c
parent660213e2089ab8409d54154d0a2987504a24fb23 (diff)
downloadillumos-joyent-16d00323713cfa922181df7d69d973398dea15ff.tar.gz
11733 acpica: cast between incompatible function types
Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk> Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
-rw-r--r--usr/src/uts/intel/io/acpica/osl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/src/uts/intel/io/acpica/osl.c b/usr/src/uts/intel/io/acpica/osl.c
index a9d32b281d..a6e7f9788a 100644
--- a/usr/src/uts/intel/io/acpica/osl.c
+++ b/usr/src/uts/intel/io/acpica/osl.c
@@ -634,7 +634,7 @@ ACPI_OSD_HANDLER acpi_isr;
void *acpi_isr_context;
uint_t
-acpi_wrapper_isr(char *arg)
+acpi_wrapper_isr(char *arg, char *arg1 __unused)
{
_NOTE(ARGUNUSED(arg))
@@ -676,7 +676,7 @@ AcpiOsInstallInterruptHandler(UINT32 InterruptNumber,
cmn_err(CE_NOTE, "!acpica: attaching SCI %d", sci_vect);
#endif
- retval = add_avintr(NULL, SCI_IPL, (avfunc)acpi_wrapper_isr,
+ retval = add_avintr(NULL, SCI_IPL, acpi_wrapper_isr,
"ACPI SCI", sci_vect, NULL, NULL, NULL, NULL);
if (retval) {
acpi_intr_hooked = 1;
@@ -695,7 +695,7 @@ AcpiOsRemoveInterruptHandler(UINT32 InterruptNumber,
cmn_err(CE_NOTE, "!acpica: detaching SCI %d", InterruptNumber);
#endif
if (acpi_intr_hooked) {
- rem_avintr(NULL, LOCK_LEVEL - 1, (avfunc)acpi_wrapper_isr,
+ rem_avintr(NULL, LOCK_LEVEL - 1, acpi_wrapper_isr,
InterruptNumber);
acpi_intr_hooked = 0;
}