[PATCH] Move __preempt_*lock into kernel_spinlock, clean up.
- create in_lock_functions() to match in_sched_functions(). Export it for use in oprofile. - use char __lock_text_start[] instead of long __lock_text_start when declaring linker symbols. Rusty fixed a number of these a while ago based on advice from rth. - Move __preempt_*_lock into kernel/spinlock.c and make it inline. This means locks are only one deep. - Make in_sched_functions() check in_lock_functions() Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Showing
Please register or sign in to comment