[PATCH] sh: PREEMPT_ACTIVE fix
authorPaul Mundt <lethal@Linux-SH.ORG>
Sat, 28 May 2005 22:52:01 +0000 (15:52 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 28 May 2005 23:46:13 +0000 (16:46 -0700)
commit37053cc84d51a790a6e5c3987665902cdab122a5
tree37076b69c8c1740e015a8227e1f105284ba1b4e6
parentaffac4bcbba617d7329b04c7882bc49a9826e12f
[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 <lethal@linux-sh.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-sh/thread_info.h
include/asm-sh64/thread_info.h