[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: spinlock_irq & spinlock_irq_save
> spin_lock_irqsave/spin_unlock_irqrestore allows you to save the current
> irq state, disable, then restore to original state. this is required
> when you _don't know_ if the irq was originally enabled.
does spin_lock_irqsave avoid to disable interrupts if these are allready disabled?... or call cli() anyway?
-------------------------------------------------------------------------------------------------------------------------------------------------------------
PGP PKEY http://pgp.mit.edu:11371/pks/lookup?search=belch76@libero.it&op=index
ICQ# 104896040
Netphone/Fax 178.605.7063
Homepage http://web.tiscali.it/bellucda
-------------------------------------------------------------------------------------------------------------------------------------------------------------
Daniele Bellucci
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/