Re: [PATCH] mips: remove custom BUILD_BUG()
From: Ralf Baechle
Date: Tue Jan 17 2012 - 03:28:59 EST
On Tue, Jan 17, 2012 at 06:52:52AM +0100, Eric Dumazet wrote:
> Date: Tue, 17 Jan 2012 06:52:52 +0100
> From: Eric Dumazet <eric.dumazet@xxxxxxxxx>
> To: David Daney <ddaney.cavm@xxxxxxxxx>
> Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>, ralf@xxxxxxxxxxxxxx,
> linux-kernel@xxxxxxxxxxxxxxx, linux-arch@xxxxxxxxxxxxxxx, Linus Torvalds
> <torvalds@xxxxxxxxxxxxxxxxxxxx>, David Rientjes <rientjes@xxxxxxxxxx>, DM
> <dm.n9107@xxxxxxxxx>, David Howells <dhowells@xxxxxxxxxx>, David Daney
> <david.daney@xxxxxxxxxx>
> Subject: [PATCH] mips: remove custom BUILD_BUG()
> Content-Type: text/plain; charset="UTF-8"
>
> Commit 1399ff86f2a2b (kernel.h: add BUILD_BUG() macro) broke mips build
>
> In file included from /opt/src/linux/arch/mips/include/asm/io.h:16:0,
> from /opt/src/linux/arch/mips/include/asm/page.h:54,
> from include/linux/serial.h:16,
> from include/linux/serial_core.h:23,
> from include/linux/serial_8250.h:14,
> from arch/mips/mti-malta/malta-platform.c:25:
> include/linux/kernel.h:717:0: error: "BUILD_BUG" redefined [-Werror]
> /opt/src/linux/arch/mips/include/asm/page.h:43:0: note: this is the
> location of the previous definition
> cc1: all warnings being treated as errors
>
> Remove the conflicting mips macro.
See 63e9c4fd1c86e894e62aa3737427163d5fb01056 [MIPS: Remove temporary kludge
from <asm/page.h>] in linux-next.
Ralf
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/