summaryrefslogtreecommitdiff
path: root/libdde_linux26/include/linux/spinlock.h
AgeCommit message (Collapse)Author
2013-07-27rename libdde_linux26 into libdde-linux26 to make dpkg-source happySamuel Thibault
2012-04-07Revert to upstream DDE cli_sti code, with __threadSamuel Thibault
Flags in Linux and L4 are a per-processor thing. In userland, that simply maps to a per-thread thing. Using a lock instead introduces deadlocks.
2010-08-09fake irq disable and enable.Zheng Da
Some functions such as blk_plug_device checks whether irqs are disabled. So I need to fake irq diable in spin_lock_irq and spin_lock_irqsave.
2010-05-06remove local_irq_restore in spin_trylock_irqsave.Zheng Da
2010-02-28implement cli/sti with a lock.Zheng Da
In order to avoid dead lock caused by spin_lock_irq or spin_lock_irqsave, I remove irq disabling in them. It's really unnecessary to do spin_lock_irq and spin_lock_irqsave any more because interrupt isn't handled in a real interrupt context.
2009-12-06check in the original version of dde linux26.Zheng Da