]> git.hungrycats.org Git - linux/commit
[PATCH] Move __preempt_*lock into kernel_spinlock, clean up.
authorAnton Blanchard <anton@samba.org>
Fri, 10 Sep 2004 00:13:40 +0000 (17:13 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 10 Sep 2004 00:13:40 +0000 (17:13 -0700)
commitf7e26c10ea8511941a0d764698a9568e74ef76e3
tree6a1f79e7603a28134e38dc1d2d6238d501f27b11
parentcd31a496e4c569777609e1fa4d718680a87b7a7b
[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>
arch/arm/kernel/time.c
arch/i386/kernel/time.c
arch/ppc/kernel/time.c
arch/ppc64/kernel/time.c
arch/sparc/kernel/time.c
arch/sparc64/kernel/time.c
arch/x86_64/kernel/time.c
include/linux/spinlock.h
kernel/sched.c
kernel/spinlock.c