On Fri, Feb 3, 2012 at 1:21 PM, Cong Wang <xiyou.wangcong@xxxxxxxxx> wrote: > On mips, we got > > include/linux/kernel.h:717:1: error: "BUILD_BUG" redefined > arch/mips/include/asm/page.h:43:1: error: this is the location of the previous definition > make[3]: *** [arch/mips/sgi-ip27/ip27-console.o] Error 1 > make[2]: *** [arch/mips/sgi-ip27] Error 2 > make[1]: *** [arch/mips] Error 2 > make: *** [sub-make] Error 2 > > use generic BUILD_BUG() instead of re-defining one. > > Signed-off-by: WANG Cong <xiyou.wangcong@xxxxxxxxx> This is already fixed in linux-mips.org repository: commit 2f5d5510507626ee799b6d1304d154569b6dfe05 Author: Ralf Baechle <ralf@xxxxxxxxxxxxxx> Date: Mon Jan 16 12:38:05 2012 +0100 MIPS: Remove temporary kludge from <asm/page.h> JC.