Benjamin Herrenschmidt wrote:
On Thu, 2010-04-01 at 09:59 +0800, gshan wrote:
  
On multi-core system, spin_lock_irqsave() can stop all CPU cores 
receiving interrupts?
    

No.
  
Thanks a lot for your answer.
  
If the answer is no, what we can do to disable external interrupt for 
all CPU cores?
    

You don't :-)

Really, you generally don't. Why would you want to do that ?
  
One of my private driver need it. I don't know how to do it.
Cheers,
Ben.