[PATCH] powerpc: Use soft irq-disable on all 64-bit machines
    Stephen Rothwell 
    sfr at canb.auug.org.au
       
    Wed Jun 14 17:23:09 EST 2006
    
    
  
On Wed, 14 Jun 2006 17:08:40 +1000 Stephen Rothwell <sfr at canb.auug.org.au> wrote:
>
> Looks good.  A couple of small fixes below.
Plus we want the below as well ...
-- 
Cheers,
Stephen Rothwell                    sfr at canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
diff --git a/include/asm-powerpc/hw_irq.h b/include/asm-powerpc/hw_irq.h
index db0ce76..dc5f1ec 100644
--- a/include/asm-powerpc/hw_irq.h
+++ b/include/asm-powerpc/hw_irq.h
@@ -8,6 +8,7 @@ #ifdef __KERNEL__
 
 #include <linux/config.h>
 #include <linux/errno.h>
+#include <linux/compiler.h>
 #include <asm/ptrace.h>
 #include <asm/processor.h>
 
@@ -25,6 +26,7 @@ static inline unsigned long local_irq_di
 {
 	unsigned long flag = get_paca()->proc_enabled;
 	get_paca()->proc_enabled = 0;
+	barrier();
 	return flag;
 }
 
    
    
More information about the Linuxppc-dev
mailing list