Patchwork powerpc/cell: local_irq_save takes an unsigned long

login
register
mail settings
Submitter Stephen Rothwell
Date Dec. 31, 2008, 3:09 a.m.
Message ID <20081231140915.75067edd.sfr@canb.auug.org.au>
Download mbox | patch
Permalink /patch/16107/
State Accepted, archived
Commit 54cfd0d5cac9df4f7b32969156a55f7e0d9297ad
Headers show

Comments

Stephen Rothwell - Dec. 31, 2008, 3:09 a.m.
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 .../powerpc/platforms/cell/cbe_cpufreq_pervasive.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Arnd Bergmann - Dec. 31, 2008, 9:29 a.m.
On Wednesday 31 December 2008, Stephen Rothwell wrote:
> 
> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>

Acked-by: Arnd Bergmann <arnd@arndb.de>

Patch

diff --git a/arch/powerpc/platforms/cell/cbe_cpufreq_pervasive.c b/arch/powerpc/platforms/cell/cbe_cpufreq_pervasive.c
index 70fa7ae..20472e4 100644
--- a/arch/powerpc/platforms/cell/cbe_cpufreq_pervasive.c
+++ b/arch/powerpc/platforms/cell/cbe_cpufreq_pervasive.c
@@ -54,7 +54,7 @@  int cbe_cpufreq_set_pmode(int cpu, unsigned int pmode)
 {
 	struct cbe_pmd_regs __iomem *pmd_regs;
 	struct cbe_mic_tm_regs __iomem *mic_tm_regs;
-	u64 flags;
+	unsigned long flags;
 	u64 value;
 #ifdef DEBUG
 	long time;