]> git.hungrycats.org Git - linux/commit
[PATCH] no need for kernel_flag on UP
authorRobert Love <rml@tech9.net>
Fri, 7 Mar 2003 23:42:49 +0000 (15:42 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Fri, 7 Mar 2003 23:42:49 +0000 (15:42 -0800)
commit339bf945cf9cdbd9d35e169b64826603a2138213
tree77c95dc0fd291c43e8098ba0467ba72d9b822b38
parentc765014640aa7daff32f63f4338b4eb4f3304bdc
[PATCH] no need for kernel_flag on UP

This is a minor cleanup.  We currently define and declare the BKL's
kernel_flag spinlock on either SMP or PREEMPT, which means a UP+PREEMPT
machine gets it.

We only need the actual lock on SMP.
kernel/ksyms.c
kernel/sched.c