mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
[PATCH] sh: PREEMPT_ACTIVE fix
Port Paulus's ppc64 fix to sh: When the generic IRQ stuff went in, it seems that HARDIRQ_BITS got bumped from 9 (for ppc64) up to 12. Consequently, the PREEMPT_ACTIVE bit is now within HARDIRQ_MASK, and I get in_interrupt() falsely returning true when PREEMPT_ACTIVE is set, and thus a BUG_ON tripping in arch/ppc64/mm/tlb.c. Signed-off-by: Paul Mundt <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
affac4bcbb
commit
37053cc84d
2 changed files with 2 additions and 2 deletions
|
|
@ -73,7 +73,7 @@ static inline struct thread_info *current_thread_info(void)
|
|||
|
||||
#define THREAD_SIZE 8192
|
||||
|
||||
#define PREEMPT_ACTIVE 0x4000000
|
||||
#define PREEMPT_ACTIVE 0x10000000
|
||||
|
||||
/* thread information flags */
|
||||
#define TIF_SYSCALL_TRACE 0 /* syscall trace active */
|
||||
|
|
|
|||
Loading…
Reference in a new issue