diff options
| author | Arnd Bergmann <[email protected]> | 2010-10-28 14:12:33 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2010-11-02 12:39:13 +0000 |
| commit | 7fe19da4ca38fc20cdbc7020fcf2eca8fc756410 (patch) | |
| tree | 35a15dd2bdc4f70b312141fe768ed093df1f8188 /arch/arm/include/asm/assembler.h | |
| parent | kconfig: sym_expand_string_value: allow for string termination when reallocing (diff) | |
| download | kernel-7fe19da4ca38fc20cdbc7020fcf2eca8fc756410.tar.gz kernel-7fe19da4ca38fc20cdbc7020fcf2eca8fc756410.zip | |
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 <[email protected]>
Reported-and-tested-by: Kirill A. Shutemov <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'arch/arm/include/asm/assembler.h')
0 files changed, 0 insertions, 0 deletions
