aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2010-10-28 16:12:33 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2010-11-02 08:39:13 -0400
commit7fe19da4ca38fc20cdbc7020fcf2eca8fc756410 (patch)
tree35a15dd2bdc4f70b312141fe768ed093df1f8188 /arch/sh
parent020e773f6b2e797a13d23723773ed1b3ba2c35dc (diff)
downloadkernel_samsung_smdk4412-7fe19da4ca38fc20cdbc7020fcf2eca8fc756410.zip
kernel_samsung_smdk4412-7fe19da4ca38fc20cdbc7020fcf2eca8fc756410.tar.gz
kernel_samsung_smdk4412-7fe19da4ca38fc20cdbc7020fcf2eca8fc756410.tar.bz2
preempt: fix kernel build with !CONFIG_BKL
The preempt count logic tries to take the BKL into account, which breaks when CONFIG_BKL is not set. Use the same preempt_count offset that we use without CONFIG_PREEMPT when CONFIG_BKL is disabled. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Reported-and-tested-by: Kirill A. Shutemov <kirill@shutemov.name> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/sh')
0 files changed, 0 insertions, 0 deletions