summaryrefslogtreecommitdiffstats
path: root/arch/sparc/prom/p1275.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/prom/p1275.c')
-rw-r--r--arch/sparc/prom/p1275.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/prom/p1275.c b/arch/sparc/prom/p1275.c
index fa6e4e219b9c..d9850c2b9bf2 100644
--- a/arch/sparc/prom/p1275.c
+++ b/arch/sparc/prom/p1275.c
@@ -39,7 +39,7 @@ void p1275_cmd_direct(unsigned long *args)
unsigned long flags;
raw_local_save_flags(flags);
- raw_local_irq_restore(PIL_NMI);
+ raw_local_irq_restore((unsigned long)PIL_NMI);
raw_spin_lock(&prom_entry_lock);
prom_world(1);