Skip to content

Commit

Permalink
headers: smp_lock.h redux
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Alexey Dobriyan authored and torvalds committed Jul 12, 2009
1 parent f9fabcb commit 405f557

Sorry, this diff is temporarily unavailable due to heavy server load.

Please try again later.

0 comments on commit 405f557

Please sign in to comment.