headers: smp_lock.h redux
authorAlexey Dobriyan <adobriyan@gmail.com>
Sat, 11 Jul 2009 18:08:37 +0000 (22:08 +0400)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 12 Jul 2009 19:22:34 +0000 (12:22 -0700)
* Remove smp_lock.h from files which don't need it (including some headers!)
* Add smp_lock.h to files which do need it
* Make smp_lock.h include conditional in hardirq.h
  It's needed only for one kernel_locked() usage which is under CONFIG_PREEMPT

  This will make hardirq.h inclusion cheaper for every PREEMPT=n config
  (which includes allmodconfig/allyesconfig, BTW)

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

No differences found