* Frank Ch. Eigler (fche@redhat.com) wrote:Yes, you have them to move them too: linux/spinlock.h: #ifdef CONFIG_PREEMPT_RT # define _spin_lock(l) rt_spin_lock(l) # define _spin_lock_nested(l, s) rt_spin_lock_nested(l, s) # define _spin_lock_bh(l) rt_spin_lock(l) # define _spin_lock_irq(l) rt_spin_lock(l) # define _spin_unlock(l) rt_spin_unlock(l) # define _spin_unlock_no_resched(l) rt_spin_unlock(l) # define _spin_unlock_bh(l) rt_spin_unlock(l) # define _spin_unlock_irq(l) rt_spin_unlock(l) # define _spin_unlock_irqrestore(l, f) rt_spin_unlock(l) .. And below, both spin_lock and spin_lock_irqsave use PICK_OP to turn into their _spin_lock_* equivalent, which are both mapped to rt_spin_lock in -rt. Mathieu -- Mathieu Desnoyers Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68 -
| Alan Cox | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Greg Kroah-Hartman | [PATCH 004/196] Chinese: add translation of SubmittingPatches |
| Bart Van Assche | Re: Integration of SCST in the mainstream Linux kernel |
| Andrew Morton | Re: [RFC/PATCH] Documentation of kernel messages |
git: | |
| Winkler, Tomas | RE: iwlwifi: fix build bug in "iwlwifi: fix LED stall" |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Mark Lord | Re: [BUG] New Kernel Bugs |
