Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 64118
b: refs/heads/master
c: 182fdd2
h: refs/heads/master
v: v3
  • Loading branch information
Alex Williamson authored and Tony Luck committed Aug 15, 2007
1 parent 4a68feb commit e17dbf1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: 352b0ef50d98049bf022a31eaf2272f52e2f5219
refs/heads/master: 182fdd225de8fc3b1b721ae944fc41146a0bd812
6 changes: 2 additions & 4 deletions trunk/arch/ia64/kernel/cpufreq/acpi-cpufreq.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,8 @@ processor_get_freq (

saved_mask = current->cpus_allowed;
set_cpus_allowed(current, cpumask_of_cpu(cpu));
if (smp_processor_id() != cpu) {
ret = -EAGAIN;
if (smp_processor_id() != cpu)
goto migrate_end;
}

/* processor_get_pstate gets the instantaneous frequency */
ret = processor_get_pstate(&value);
Expand All @@ -125,7 +123,7 @@ processor_get_freq (
set_cpus_allowed(current, saved_mask);
printk(KERN_WARNING "get performance failed with error %d\n",
ret);
ret = -EAGAIN;
ret = 0;
goto migrate_end;
}
clock_freq = extract_clock(data, value, cpu);
Expand Down

0 comments on commit e17dbf1

Please sign in to comment.