Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934430AbbEMTTi (ORCPT ); Wed, 13 May 2015 15:19:38 -0400 Received: from arrakis.dune.hu ([78.24.191.176]:37499 "EHLO arrakis.dune.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932269AbbEMTTh (ORCPT ); Wed, 13 May 2015 15:19:37 -0400 MIME-Version: 1.0 In-Reply-To: <55539B68.8060304@broadcom.com> References: <55539B68.8060304@broadcom.com> From: Jonas Gorski Date: Wed, 13 May 2015 21:19:08 +0200 Message-ID: Subject: Re: 4.1-rc2: build issue with duplicate redefinition of _PAGE_GLOBAL_SHIFT To: Arend van Spriel Cc: "linux-mips@linux-mips.org" , LKML , brcm80211 development , "Maciej W. Rozycki" , Ralf Baechle Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1735 Lines: 41 Hi Arend, On Wed, May 13, 2015 at 8:43 PM, Arend van Spriel wrote: > For our upstream brcm80211 drivers we build for a number of architectures > including MIPS. In recent builds we get an error/warning: > > CC [M] drivers/net/wireless/brcm80211/brcmfmac/cfg80211.o > In file included from ./arch/mips/include/asm/io.h:27:0, > from ./arch/mips/include/asm/page.h:176, > from include/linux/mm_types.h:15, > from include/linux/kmemcheck.h:4, > from include/linux/skbuff.h:18, > from include/linux/if_ether.h:23, > from include/linux/etherdevice.h:25, > from drivers/net/wireless/brcm80211/brcmfmac/cfg80211.c:20: > ./arch/mips/include/asm/pgtable-bits.h:164:0: error: "_PAGE_GLOBAL_SHIFT" > redefined [-Werror] > ./arch/mips/include/asm/pgtable-bits.h:141:0: note: this is the location of > the previous definition > > As it is likely a Kconfig issue I have attached the config file that was > used for the build. I started out with mips_config.old and ran 'make > oldconfig' and just hit enter a couple of times selecting all defaults which > ends up with the mips_config file having the issue. As I have no clue what > Kconfig combinations are valid I am hoping anyone on the mips list can shed > some light on this. this isn't a config issue, it's a clear bug which https://patchwork.linux-mips.org/patch/9960/ intends to fix. Regards Jonas -- 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/