Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 349323
b: refs/heads/master
c: 72640d8
h: refs/heads/master
i:
  349321: 8b4ce67
  349319: df82305
v: v3
  • Loading branch information
Steven Rostedt authored and Benjamin Herrenschmidt committed Jan 28, 2013
1 parent 070ca3a commit 2f09cfd
Show file tree
Hide file tree
Showing 2 changed files with 8 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: 41d82bdb40af74a88cff4589ea7a60091b11070e
refs/heads/master: 72640d880350165c3a7b8f2e4fb4bf852ea7b606
7 changes: 7 additions & 0 deletions trunk/arch/powerpc/platforms/pasemi/cpufreq.c
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,13 @@ static int pas_cpufreq_cpu_init(struct cpufreq_policy *policy)

static int pas_cpufreq_cpu_exit(struct cpufreq_policy *policy)
{
/*
* We don't support CPU hotplug. Don't unmap after the system
* has already made it to a running state.
*/
if (system_state != SYSTEM_BOOTING)
return 0;

if (sdcasr_mapbase)
iounmap(sdcasr_mapbase);
if (sdcpwr_mapbase)
Expand Down

0 comments on commit 2f09cfd

Please sign in to comment.