]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
MIPS: Fix build errors in sc-mips.c
authorKevin Cernekee <cernekee@gmail.com>
Wed, 3 Nov 2010 05:28:01 +0000 (22:28 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 17 Dec 2010 19:44:35 +0000 (19:44 +0000)
commit081d835fa4ce70ad1e42ac76de850a49e23a1557
tree8d76d9a5276d3eb8f6fc4a0ab3555f3234a48022
parentc15524a40a1603dc56a8691c4f50172fb86c23d8
MIPS: Fix build errors in sc-mips.c

Seen with malta_defconfig on Linus' tree:

  CC      arch/mips/mm/sc-mips.o
arch/mips/mm/sc-mips.c: In function 'mips_sc_is_activated':
arch/mips/mm/sc-mips.c:77: error: 'config2' undeclared (first use in this function)
arch/mips/mm/sc-mips.c:77: error: (Each undeclared identifier is reported only once
arch/mips/mm/sc-mips.c:77: error: for each function it appears in.)
arch/mips/mm/sc-mips.c:81: error: 'tmp' undeclared (first use in this function)
make[2]: *** [arch/mips/mm/sc-mips.o] Error 1
make[1]: *** [arch/mips/mm] Error 2
make: *** [arch/mips] Error 2

[Ralf: Cosmetic changes to minimize the number of arguments passed to
mips_sc_is_activated]

Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Patchwork: https://patchwork.linux-mips.org/patch/1752/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mm/sc-mips.c