MIPS: oprofile: Fix breakage when CONFIG_OPROFILE=m
authorWu Zhangjin <wuzhangjin@gmail.com>
Mon, 26 Apr 2010 12:01:54 +0000 (20:01 +0800)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 30 Apr 2010 19:52:54 +0000 (20:52 +0100)
commit922010ff7b75737e6dc361f8eae9c2784ac1872d
tree800fb92ec4b1a6a0a02544cd2c67a77a795c215c
parent9dd147467790932e2f630b67eec925745463ee11
MIPS: oprofile: Fix breakage when CONFIG_OPROFILE=m

When the oprofile is compiled as a module do_IRQ() is not called in
arch/mips/loongson/lemote-2f/irq.c due to a wrong #ifdef there.

Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
Cc: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/1143/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/loongson/lemote-2f/irq.c