ACPICA: Fix AcpiSrc caused divergences.
There are definitions that can been converted into new styles by the recent AcpiSrc while they remain the old styles in the Linux. This patch fixes those definitions that will be converted by the AcpiSrc. This patch will not affect the generated vmlinux binary. This will decrease 97 lines of 20120913 divergence.diff. Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:

committed by
Rafael J. Wysocki

orang tua
78e25fef27
melakukan
644ef74e6d
@@ -476,7 +476,7 @@ static void fixed_event_count(u32 event_number)
|
||||
return;
|
||||
}
|
||||
|
||||
static void acpi_gbl_event_handler(u32 event_type, acpi_handle device,
|
||||
static void acpi_global_event_handler(u32 event_type, acpi_handle device,
|
||||
u32 event_number, void *context)
|
||||
{
|
||||
if (event_type == ACPI_EVENT_TYPE_GPE)
|
||||
@@ -638,7 +638,7 @@ void acpi_irq_stats_init(void)
|
||||
if (all_counters == NULL)
|
||||
goto fail;
|
||||
|
||||
status = acpi_install_global_event_handler(acpi_gbl_event_handler, NULL);
|
||||
status = acpi_install_global_event_handler(acpi_global_event_handler, NULL);
|
||||
if (ACPI_FAILURE(status))
|
||||
goto fail;
|
||||
|
||||
|
Reference in New Issue
Block a user