From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751121AbdKTEfA (ORCPT ); Sun, 19 Nov 2017 23:35:00 -0500 Received: from mail-ot0-f182.google.com ([74.125.82.182]:40762 "EHLO mail-ot0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751015AbdKTEe7 (ORCPT ); Sun, 19 Nov 2017 23:34:59 -0500 X-Google-Smtp-Source: AGs4zMbECOA29ku8oT8LRPV2ZxOtaQV3v5BalUymDm5/3hjDZNg8ZvgRZ5jXQHV43QbzsyvLAN0xGnJB+vE5PYviPuw= MIME-Version: 1.0 In-Reply-To: <20171120153230.1738cc35@canb.auug.org.au> References: <20171120125748.156fa18b@canb.auug.org.au> <20171120153230.1738cc35@canb.auug.org.au> From: Dan Williams Date: Sun, 19 Nov 2017 20:34:58 -0800 Message-ID: Subject: Re: linux-next: build failure after merge of the akpm-current tree To: Stephen Rothwell Cc: Andrew Morton , Linux-Next Mailing List , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Nov 19, 2017 at 8:32 PM, Stephen Rothwell wrote: > Hi Dan, > > On Sun, 19 Nov 2017 20:25:18 -0800 Dan Williams wrote: >> >> Ugh, yes. Looks correct. I might have confused my build success >> notifications from 0day. I'll spin out a new branch to make sure this >> is the last of it. > > Thanks. > > While I have your attention ... did you consider using the other > paradigm: > > In arch include files: > #define pud_write pud_write > static inline int pud_write(pud_t pud) > ..... > > Then in include/asm-generic/pgtable.h: > > #ifndef pud_write > tatic inline int pud_write(pud_t pud) > { > .... > } > #endif > > If you had, then the powerpc code would have worked ... ;-) > and many of the other interfaces in include/asm-generic/pgtable.h are > protected that way ... I like that better. I simply cargo-culted the way pmd_write() was defined, and should have given it a bit more thought. Andrew, I'll respin these with Stephen's suggestion.