summaryrefslogtreecommitdiffstats
path: root/arch/mips/sgi-ip22/ip22-mc.c
diff options
context:
space:
mode:
authorDmitri Vorobiev <dmitri.vorobiev@movial.fi>2008-06-18 10:18:21 +0300
committerRalf Baechle <ralf@linux-mips.org>2008-07-15 18:44:31 +0100
commit7afed6a6c92fadedde8474bbfd92d6debc5e23b0 (patch)
treeea745722c02f93ddabc678be08805845cb705524 /arch/mips/sgi-ip22/ip22-mc.c
parentd58eaab5a01b9cf1819ec57271ac214a39bf6278 (diff)
downloadlinux-7afed6a6c92fadedde8474bbfd92d6debc5e23b0.tar.bz2
[MIPS] A few cleanups in malta_int.c
Both the fill_ipi_map() routine and the gic_intr_map array defined in arch/mips/mips-boards/malta/malta_int.c are not used outside of the latter file. Thus, these objects can become static. Moreover, these two objects are used by the MT code only, which is why this patch adds the appropriate ifdef. While at it, this patch removes an unnecessary preprocessing macro in favor of the commonly used ARRAY_SIZE. Successfully tested using a Qemu-emulated Malta board for both SMP and UP kernels. Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.fi> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/sgi-ip22/ip22-mc.c')
0 files changed, 0 insertions, 0 deletions