Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c53ae3a6 authored by Bob Moore's avatar Bob Moore Committed by Rafael J. Wysocki
Browse files

ACPICA: SCI Handlers: Update handler interface, eliminate unnecessary argument.



The SCI interrupt number is not needed for the SCI handlers, and was
just unnecessary overhead.

Signed-off-by: default avatarBob Moore <robert.moore@intel.com>
Signed-off-by: default avatarLv Zheng <lv.zheng@intel.com>
Reviewed-by: default avatarLen Brown <len.brown@intel.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 31e93a16
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -87,9 +87,7 @@ u32 acpi_ev_sci_dispatch(void)

		/* Invoke the installed handler (at interrupt level) */

		int_status |= sci_handler->address((u32)acpi_gbl_FADT.
						   sci_interrupt,
						   sci_handler->context);
		int_status |= sci_handler->address(sci_handler->context);

		sci_handler = sci_handler->next;
	}
+1 −1
Original line number Diff line number Diff line
@@ -951,7 +951,7 @@ typedef void
 * Various handlers and callback procedures
 */
typedef
u32 (*acpi_sci_handler) (u32 interrupt_number, void *context);
u32 (*acpi_sci_handler) (void *context);

typedef
void (*acpi_gbl_event_handler) (u32 event_type,