diff options
| author | Olof Johansson <olof@lixom.net> | 2013-02-04 22:56:41 -0800 | 
|---|---|---|
| committer | Olof Johansson <olof@lixom.net> | 2013-02-04 22:56:41 -0800 | 
| commit | 469da62096e23adc755c1268b00b5fc7a214151b (patch) | |
| tree | fefd055fdae584e38d551f44d1339eb22cee4ed9 /arch/powerpc/platforms/pasemi/cpufreq.c | |
| parent | 4227961650884a06757f80877d5dce0bddc723d4 (diff) | |
| parent | 88b62b915b0b7e25870eb0604ed9a92ba4bfc9f7 (diff) | |
| download | olio-linux-3.10-469da62096e23adc755c1268b00b5fc7a214151b.tar.xz olio-linux-3.10-469da62096e23adc755c1268b00b5fc7a214151b.zip  | |
Merge tag 'v3.8-rc6' into next/soc
Linux 3.8-rc6
Diffstat (limited to 'arch/powerpc/platforms/pasemi/cpufreq.c')
| -rw-r--r-- | arch/powerpc/platforms/pasemi/cpufreq.c | 7 | 
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/pasemi/cpufreq.c b/arch/powerpc/platforms/pasemi/cpufreq.c index 95d00173029..890f30e70f9 100644 --- a/arch/powerpc/platforms/pasemi/cpufreq.c +++ b/arch/powerpc/platforms/pasemi/cpufreq.c @@ -236,6 +236,13 @@ out:  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)  |