Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 177605
b: refs/heads/master
c: 918aae4
h: refs/heads/master
i:
  177603: de617e9
v: v3
  • Loading branch information
Hidetoshi Seto authored and Len Brown committed Dec 16, 2009
1 parent f02a754 commit 89788eb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 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: f67538f81e6b8da9175c82807d649fbdb0055844
refs/heads/master: 918aae42aa9b611a3663b16ae849fdedc67c2292
11 changes: 8 additions & 3 deletions trunk/drivers/acpi/processor_idle.c
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ static void lapic_timer_check_state(int state, struct acpi_processor *pr,
pr->power.timer_broadcast_on_state = state;
}

static void lapic_timer_propagate_broadcast(void *arg)
static void __lapic_timer_propagate_broadcast(void *arg)
{
struct acpi_processor *pr = (struct acpi_processor *) arg;
unsigned long reason;
Expand All @@ -175,6 +175,12 @@ static void lapic_timer_propagate_broadcast(void *arg)
clockevents_notify(reason, &pr->id);
}

static void lapic_timer_propagate_broadcast(struct acpi_processor *pr)
{
smp_call_function_single(pr->id, __lapic_timer_propagate_broadcast,
(void *)pr, 1);
}

/* Power(C) State timer broadcast control */
static void lapic_timer_state_broadcast(struct acpi_processor *pr,
struct acpi_processor_cx *cx,
Expand Down Expand Up @@ -638,8 +644,7 @@ static int acpi_processor_power_verify(struct acpi_processor *pr)
working++;
}

smp_call_function_single(pr->id, lapic_timer_propagate_broadcast,
pr, 1);
lapic_timer_propagate_broadcast(pr);

return (working);
}
Expand Down

0 comments on commit 89788eb

Please sign in to comment.