Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 318787
b: refs/heads/master
c: bd6f10a
h: refs/heads/master
i:
  318785: 3d934fe
  318783: 62fc4b9
v: v3
  • Loading branch information
Lin Ming authored and Len Brown committed Jun 1, 2012
1 parent bf41aac commit ebcb0eb
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c6e1733e6fc384ff1a219d7dfcb8b072030ae792
refs/heads/master: bd6f10a5f984e48cb56a39f2698cd58e7a33d56b
4 changes: 2 additions & 2 deletions trunk/drivers/acpi/acpica/evxface.c
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ acpi_remove_notify_handler(acpi_handle device,
}
/* Make sure all deferred tasks are completed */

acpi_os_wait_events_complete(NULL);
acpi_os_wait_events_complete();

status = acpi_ut_acquire_mutex(ACPI_MTX_NAMESPACE);
if (ACPI_FAILURE(status)) {
Expand Down Expand Up @@ -699,7 +699,7 @@ acpi_remove_gpe_handler(acpi_handle gpe_device,

/* Make sure all deferred tasks are completed */

acpi_os_wait_events_complete(NULL);
acpi_os_wait_events_complete();

status = acpi_ut_acquire_mutex(ACPI_MTX_EVENTS);
if (ACPI_FAILURE(status)) {
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/acpi/osl.c
Original file line number Diff line number Diff line change
Expand Up @@ -891,7 +891,7 @@ static void acpi_os_execute_deferred(struct work_struct *work)
struct acpi_os_dpc *dpc = container_of(work, struct acpi_os_dpc, work);

if (dpc->wait)
acpi_os_wait_events_complete(NULL);
acpi_os_wait_events_complete();

dpc->function(dpc->context);
kfree(dpc);
Expand Down Expand Up @@ -987,7 +987,7 @@ acpi_status acpi_os_hotplug_execute(acpi_osd_exec_callback function,
return __acpi_os_execute(0, function, context, 1);
}

void acpi_os_wait_events_complete(void *context)
void acpi_os_wait_events_complete(void)
{
flush_workqueue(kacpid_wq);
flush_workqueue(kacpi_notify_wq);
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/acpi/sleep.c
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ void __init acpi_old_suspend_ordering(void)
static int acpi_pm_freeze(void)
{
acpi_disable_all_gpes();
acpi_os_wait_events_complete(NULL);
acpi_os_wait_events_complete();
acpi_ec_block_transactions();
return 0;
}
Expand Down
2 changes: 1 addition & 1 deletion trunk/include/acpi/acpiosxf.h
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ acpi_os_execute(acpi_execute_type type,
acpi_status
acpi_os_hotplug_execute(acpi_osd_exec_callback function, void *context);

void acpi_os_wait_events_complete(void *context);
void acpi_os_wait_events_complete(void);

void acpi_os_sleep(u64 milliseconds);

Expand Down

0 comments on commit ebcb0eb

Please sign in to comment.