From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7A4A5EE49AA for ; Tue, 22 Aug 2023 01:12:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231959AbjHVBMB (ORCPT ); Mon, 21 Aug 2023 21:12:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34674 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231968AbjHVBL5 (ORCPT ); Mon, 21 Aug 2023 21:11:57 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 963AD187; Mon, 21 Aug 2023 18:11:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=+oF89Epzp8rU2t09SgoDNvxKdBu+3pJgx9pUxaygLvw=; b=F1xtJhYNk1h4XTTrv3ReqmxINp HieC3af3Dt1HbMRvxABAWnREuGbWuCwyJyu3kgI/UdhgQrfgjG4k/9czTB8V6ysaHIw5iqGhorsDR JqoPNj03GX8z1Zv5AWoHBUaiO4lK1ul0GbEVgO59JUMFAoF80j1P3CCVv5nnsQfICWeMjAyE2+TOz vsLdWt+UdO3JrQ/r2cR4h3YXBt1gcgKoWZfmMIBSXmNvxDIVY7j/RpSnc/R1Q9bk+6KkovLKFcber e5YqtoSejVN8bTTsUSg5C7ZD+c3ZUTdPOqgPfNtjRRgLtCWsE6U7iU7evix+U2LrrG20dGlEeycjv vkpKvMQg==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1qYFvs-00DRWs-DD; Tue, 22 Aug 2023 01:11:44 +0000 Date: Tue, 22 Aug 2023 02:11:44 +0100 From: Matthew Wilcox To: Stephen Rothwell Cc: Andrew Morton , Linux Kernel Mailing List , Linux Next Mailing List , Michael Ellerman , Nicholas Piggin , Christophe Leroy , linuxppc-dev@lists.ozlabs.org Subject: Re: linux-next: build failure after merge of the mm tree Message-ID: References: <20230822095537.500047f7@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230822095537.500047f7@canb.auug.org.au> Precedence: bulk List-ID: X-Mailing-List: linux-next@vger.kernel.org On Tue, Aug 22, 2023 at 09:55:37AM +1000, Stephen Rothwell wrote: > In file included from include/trace/trace_events.h:27, > from include/trace/define_trace.h:102, > from fs/xfs/xfs_trace.h:4428, > from fs/xfs/xfs_trace.c:45: > include/linux/pgtable.h:8:25: error: initializer element is not constant > 8 | #define PMD_ORDER (PMD_SHIFT - PAGE_SHIFT) Ummm. PowerPC doesn't have a compile-time constant PMD size? arch/powerpc/include/asm/book3s/64/pgtable.h:#define PMD_SHIFT (PAGE_SHIFT + PTE_INDEX_SIZE) arch/powerpc/include/asm/book3s/64/pgtable.h:#define PTE_INDEX_SIZE __pte_index_size That's really annoying. I'll try to work around it.