From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753134AbcBCF6k (ORCPT ); Wed, 3 Feb 2016 00:58:40 -0500 Received: from mail-pf0-f177.google.com ([209.85.192.177]:36096 "EHLO mail-pf0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752073AbcBCF6j (ORCPT ); Wed, 3 Feb 2016 00:58:39 -0500 Date: Wed, 3 Feb 2016 11:28:19 +0530 From: Sudip Mukherjee To: Stephen Rothwell Cc: Andrew Morton , linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Matthew Wilcox Subject: Re: linux-next: build failure after merge of the akpm-current tree Message-ID: <20160203055819.GA5528@sudip-pc> References: <20160203161030.459d5c26@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20160203161030.459d5c26@canb.auug.org.au> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 03, 2016 at 04:10:30PM +1100, Stephen Rothwell wrote: > Hi Andrew, > > After merging the akpm-current tree, today's linux-next build (i386 > defconfig) failed like this: > > In file included from include/linux/mm.h:67:0, > from include/linux/suspend.h:8, > from arch/x86/kernel/asm-offsets.c:12: > arch/x86/include/asm/pgtable.h:212:24: error: redefinition of 'pud_trans_huge' > #define pud_trans_huge pud_trans_huge > ^ > include/asm-generic/pgtable.h:696:19: note: in expansion of macro 'pud_trans_huge' > static inline int pud_trans_huge(pud_t pud) > ^ > arch/x86/include/asm/pgtable.h:208:19: note: previous definition of 'pud_trans_huge' was here > static inline int pud_trans_huge(pud_t pud) > ^ > > Caused by commit > > 42416e8d1a10 ("x86-add-support-for-pud-sized-transparent-hugepages-fix") > > Which, it turns out, is "wrong/hacky" :-) > > I have reverted that patch for today and added this (also maybe > wrong/hacky) patch: And x86_64 defconfig also fails with: ../fs/proc/task_mmu.c: In function ‘smaps_pud_range’: ../fs/proc/task_mmu.c:596:2: error: implicit declaration of function ‘is_huge_zero_pud’ [-Werror=implicit-function-declaration] regards sudip