On Mon, Mar 31, 2008 at 12:53 AM, Peter Teoh <[EMAIL PROTECTED]> wrote:
>
>   if (DEBUG_LOCKS_WARN_ON(!irqs_disabled()))
>                 return 0;

Sorry, forgotten to explain the above - which is extracted from
lock_acquire() - showing that irq must be disabled before it comes
here - right?

-- 
Regards,
Peter Teoh

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [EMAIL PROTECTED]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to