Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 143309
b: refs/heads/master
c: ea34f43
h: refs/heads/master
i:
  143307: 30882be
v: v3
  • Loading branch information
Linus Torvalds committed Apr 15, 2009
1 parent b0fae92 commit 7f711ea
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0882e8dd3aad33eca41696d463bb896e6c8817eb
refs/heads/master: ea34f43a074af85823e49b9bf62f47d8d3f0e81a
6 changes: 6 additions & 0 deletions trunk/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,13 @@ static void drv_read(struct drv_cmd *cmd)

static void drv_write(struct drv_cmd *cmd)
{
int this_cpu;

this_cpu = get_cpu();
if (cpumask_test_cpu(this_cpu, cmd->mask))
do_drv_write(cmd);
smp_call_function_many(cmd->mask, do_drv_write, cmd, 1);
put_cpu();
}

static u32 get_cur_val(const struct cpumask *mask)
Expand Down

0 comments on commit 7f711ea

Please sign in to comment.