Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754122Ab2BCL3i (ORCPT ); Fri, 3 Feb 2012 06:29:38 -0500 Received: from mail-we0-f174.google.com ([74.125.82.174]:63384 "EHLO mail-we0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753133Ab2BCL3h (ORCPT ); Fri, 3 Feb 2012 06:29:37 -0500 MIME-Version: 1.0 In-Reply-To: <1328255503-17575-1-git-send-email-xiyou.wangcong@gmail.com> References: <1328255503-17575-1-git-send-email-xiyou.wangcong@gmail.com> Date: Fri, 3 Feb 2012 16:59:35 +0530 Message-ID: Subject: Re: [Patch] mips: do not redefine BUILD_BUG() From: "Jayachandran C." To: Cong Wang Cc: linux-kernel@vger.kernel.org, Andrew Morton , Ralf Baechle , David Daney , Hillf Danton , linux-mips@linux-mips.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1017 Lines: 28 On Fri, Feb 3, 2012 at 1:21 PM, Cong Wang 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 This is already fixed in linux-mips.org repository: commit 2f5d5510507626ee799b6d1304d154569b6dfe05 Author: Ralf Baechle Date: Mon Jan 16 12:38:05 2012 +0100 MIPS: Remove temporary kludge from JC. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/