MIPS: Alchemy: irq: use runtime CPU type detection
authorManuel Lauss <manuel.lauss@googlemail.com>
Mon, 23 Nov 2009 19:40:02 +0000 (20:40 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 27 Feb 2010 11:53:03 +0000 (12:53 +0100)
commitef6c1fd662d18c0e2ed92825c8837e94b5ec3a1f
tree68375e54d68ab595379fc6e891273612c45e6771
parent5d400f5c59df3ed2c3682a7409c8e81a7c4e650c
MIPS: Alchemy: irq: use runtime CPU type detection

Use runtime CPU detection instead of relying on preprocessor symbols.

Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com>
Cc: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/701/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/alchemy/common/irq.c