linux-mips
[Top] [All Lists]

RE: MIPS raw_local_irq_restore flags

To: "linux-mips@linux-mips.org" <linux-mips@linux-mips.org>
Subject: RE: MIPS raw_local_irq_restore flags
From: "Ramgopal Kota" <rkota@broadcom.com>
Date: Tue, 16 Mar 2010 22:27:24 -0700
Accept-language: en-US
Acceptlanguage: en-US
In-reply-to: <4BEA3FF3CAA35E408EA55C7BE2E61D0546AC862322@xmail3.se.axis.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <4BEA3FF3CAA35E408EA55C7BE2E61D0546AC862322@xmail3.se.axis.com>
Sender: linux-mips-bounce@linux-mips.org
Thread-index: AcrBK3wkk2FBNl+9TaOxNHDqJxz80AEZusdw
Thread-topic: MIPS raw_local_irq_restore flags
Hi ,

Is there any moderation done to the messages posted to this mailing list. I 
posted couple of messages but none has come , just wondering what is wrong ? 

Thanks & Regards,
Ramgopal Kota
-----Original Message-----
From: linux-mips-bounce@linux-mips.org 
[mailto:linux-mips-bounce@linux-mips.org] On Behalf Of Mikael Starvik
Sent: Thursday, March 11, 2010 8:30 PM
To: linux-mips@linux-mips.org
Subject: MIPS raw_local_irq_restore flags

For the common case CONFIG_CPU_MIPSR2 && CONFIG_IRQ_CPU 
raw_local_irq_restore_flags is defined as:

"       beqz    \\flags, 1f                                     \n"
"       di                                                      \n"
"       ei                                                      \n"
"1:                                                             \n"

Doesn't this imply that you can't do recursive local_irq_save() (with different 
locks ofcourse)? 

Best Regards
/Mikael




<Prev in Thread] Current Thread [Next in Thread>