m32r: Simplify ei_handler code
authorHirokazu Takata <takata@linux-m32r.org>
Fri, 17 Aug 2007 09:11:37 +0000 (18:11 +0900)
committerHirokazu Takata <takata@linux-m32r.org>
Mon, 3 Sep 2007 02:30:18 +0000 (11:30 +0900)
commit5171b100511513bc52875055f7d900fc3f7c922b
treeba8eace198bd5b4fb695c145b21c2da4999a445b
parente070fb743d9d13d9757e633d1bdd1f9c20b2d792
m32r: Simplify ei_handler code

Simplify and clean up messy ei_handler code in arch/m32r/kernel/entry.S.
- Remove ifdef's for CONFIG_CHIP_* configulations.
- Rearrange the M32700 workaround code.
- Remove the messy platform-dependent interrupt check routines and
  consolidate them to common INT0/INT1/INT2 check routines for all
  platforms with cascaded interrupt controllers.

Signed-off-by: Hitoshi Yamamoto <hitoshiy@linux-m32r.org>
Signed-off-by: Hirokazu Takata <takata@linux-m32r.org>
arch/m32r/kernel/entry.S