linux-mips
[Top] [All Lists]

Re: [Patch] mips: do not redefine BUILD_BUG()

To: Cong Wang <xiyou.wangcong@gmail.com>
Subject: Re: [Patch] mips: do not redefine BUILD_BUG()
From: "Jayachandran C." <c.jayachandran@gmail.com>
Date: Fri, 3 Feb 2012 16:59:35 +0530
Cc: linux-kernel@vger.kernel.org, Andrew Morton <akpm@linux-foundation.org>, Ralf Baechle <ralf@linux-mips.org>, David Daney <david.daney@cavium.com>, Hillf Danton <dhillf@gmail.com>, linux-mips@linux-mips.org
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=q4abndwuLrxTOJPahU7gyauY+DqKZm/cDKKOyG9CswU=; b=LJ57cOvpvqGHmRTnLiZxDEj5NrYqdxoIFqGYPjiqyjDpYU5pdiHU6z9jyfcyIGtxzs VAJSGsLd7frK7VgEXFnEopkaNwBQQyigW5dNHuyhm5AC7K0+czUM8hgKLVIr5rIC19Si jMbOcavPV08vWCbGh8xWyJsuwMcX4SJtGummg=
In-reply-to: <1328255503-17575-1-git-send-email-xiyou.wangcong@gmail.com>
References: <1328255503-17575-1-git-send-email-xiyou.wangcong@gmail.com>
Sender: linux-mips-bounce@linux-mips.org
On Fri, Feb 3, 2012 at 1:21 PM, Cong Wang <xiyou.wangcong@gmail.com> 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@gmail.com>

This is already fixed in linux-mips.org repository:

commit 2f5d5510507626ee799b6d1304d154569b6dfe05
Author: Ralf Baechle <ralf@linux-mips.org>
Date:   Mon Jan 16 12:38:05 2012 +0100

    MIPS: Remove temporary kludge from <asm/page.h>

JC.

<Prev in Thread] Current Thread [Next in Thread>