Re: [PATCH] mips: remove custom BUILD_BUG()
From: Ralf Baechle <hidden>
Date: 2012-01-17 08:28:59
Also in:
lkml
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 <redacted>
To: David Daney <redacted>
Cc: Andrew Morton <akpm@linux-foundation.org>, ralf@linux-mips.org,
linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, Linus Torvalds
[off-list ref], David Rientjes [off-list ref], DM
[off-list ref], David Howells [off-list ref], David Daney
[off-list ref]
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