diff options
author | Bob Moore <robert.moore@intel.com> | 2013-09-22 21:52:45 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-09-23 19:46:25 -0400 |
commit | c53ae3a60c2494a160140d09637f543562626365 (patch) | |
tree | 4c0c84b85ee83cb5cbd424e1f056a76fdf377838 | |
parent | 31e93a166c7cfa6d5ff0bae0c19f0541f06f2260 (diff) |
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>
-rw-r--r-- | drivers/acpi/acpica/evsci.c | 4 | ||||
-rw-r--r-- | include/acpi/actypes.h | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/drivers/acpi/acpica/evsci.c b/drivers/acpi/acpica/evsci.c index b2f0fb2f57b4..94d9ebddf575 100644 --- a/drivers/acpi/acpica/evsci.c +++ b/drivers/acpi/acpica/evsci.c | |||
@@ -87,9 +87,7 @@ u32 acpi_ev_sci_dispatch(void) | |||
87 | 87 | ||
88 | /* Invoke the installed handler (at interrupt level) */ | 88 | /* Invoke the installed handler (at interrupt level) */ |
89 | 89 | ||
90 | int_status |= sci_handler->address((u32)acpi_gbl_FADT. | 90 | int_status |= sci_handler->address(sci_handler->context); |
91 | sci_interrupt, | ||
92 | sci_handler->context); | ||
93 | 91 | ||
94 | sci_handler = sci_handler->next; | 92 | sci_handler = sci_handler->next; |
95 | } | 93 | } |
diff --git a/include/acpi/actypes.h b/include/acpi/actypes.h index 54006720af8e..f6abf23ad0a7 100644 --- a/include/acpi/actypes.h +++ b/include/acpi/actypes.h | |||
@@ -951,7 +951,7 @@ typedef void | |||
951 | * Various handlers and callback procedures | 951 | * Various handlers and callback procedures |
952 | */ | 952 | */ |
953 | typedef | 953 | typedef |
954 | u32 (*acpi_sci_handler) (u32 interrupt_number, void *context); | 954 | u32 (*acpi_sci_handler) (void *context); |
955 | 955 | ||
956 | typedef | 956 | typedef |
957 | void (*acpi_gbl_event_handler) (u32 event_type, | 957 | void (*acpi_gbl_event_handler) (u32 event_type, |