git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
020e773
)
preempt: fix kernel build with !CONFIG_BKL
author
Arnd Bergmann
<arnd@arndb.de>
Thu, 28 Oct 2010 14:12:33 +0000
(16:12 +0200)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Tue, 2 Nov 2010 12:39:13 +0000
(08:39 -0400)
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>
include/linux/hardirq.h
patch
|
blob
|
history
diff --cc
include/linux/hardirq.h
Simple merge