From: Arnd Bergmann Date: Thu, 28 Oct 2010 14:12:33 +0000 (+0200) Subject: preempt: fix kernel build with !CONFIG_BKL X-Git-Tag: v2.6.37-rc2~98 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7fe19da4ca38fc20cdbc7020fcf2eca8fc756410;p=pandora-kernel.git 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 Reported-and-tested-by: Kirill A. Shutemov Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed