From: Alexey Dobriyan Date: Sat, 11 Jul 2009 18:08:37 +0000 (+0400) Subject: headers: smp_lock.h redux X-Git-Tag: v2.6.31-rc3~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=405f55712dfe464b3240d7816cc4fe4174831be2;p=pandora-kernel.git headers: smp_lock.h redux * 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 Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed