MIPS: APRP: Fix the linking of rtlx interrupt hook
authorDeng-Cheng Zhu <dengcheng.zhu@imgtec.com>
Fri, 28 Feb 2014 18:23:01 +0000 (10:23 -0800)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 6 Mar 2014 19:52:29 +0000 (20:52 +0100)
commit9c1f6e008297e184a7f701f2f03c9269011fd049
tree4fbacb02253cb005cfb87b33fa5c189b07906a6d
parent4890e2eb69d0461cbc532265e03280ffce670ee8
MIPS: APRP: Fix the linking of rtlx interrupt hook

There are 2 errors with the existing aprp_hook linking:
- The prefix CONFIG_ is missing;
- The hook should be linked exclusively in the cases of MT and CMP.
Signed-off-by: Deng-Cheng Zhu <dengcheng.zhu@imgtec.com>
Reviewed-by: Steven J. Hill <Steven.Hill@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: john@phrozen.org
Patchwork: https://patchwork.linux-mips.org/patch/6588/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mti-malta/malta-int.c