2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-17 17:53:56 +08:00

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: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Reviewed-by: Len Brown <len.brown@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
Bob Moore 2013-09-23 09:52:45 +08:00 committed by Rafael J. Wysocki
parent 31e93a166c
commit c53ae3a60c
2 changed files with 2 additions and 4 deletions

View File

@ -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;
}

View File

@ -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,