提交 c53ae3a6 编写于 作者: B Bob Moore 提交者: Rafael J. Wysocki

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: NBob Moore <robert.moore@intel.com>
Signed-off-by: NLv Zheng <lv.zheng@intel.com>
Reviewed-by: NLen Brown <len.brown@intel.com>
Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
上级 31e93a16
......@@ -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;
}
......
......@@ -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,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册