Re: [PATCH] mips: remove custom BUILD_BUG()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-arch" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux