Re: linux-next: build failure after merge of the mm tree

From: Stephen Rothwell
Date: Mon Aug 21 2023 - 21:22:37 EST


Hi Matthew,

On Tue, 22 Aug 2023 02:11:44 +0100 Matthew Wilcox <willy@xxxxxxxxxxxxx> wrote:
>
> 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?

Yeah, you are not the first (or probably the last) to be caught by that.

--
Cheers,
Stephen Rothwell

Attachment: pgpcM5B6IXiLc.pgp
Description: OpenPGP digital signature