On Thu, 07 Mar 2024, Jani Nikula <jani.nikula@xxxxxxxxx> wrote:
On Thu, 07 Mar 2024, Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> wrote:
When just including <linux/pgtable.h>:
include/asm-generic/pgtable-nop4d.h:9:18: error: unknown type name ‘pgd_t’
9 | typedef struct { pgd_t pgd; } p4d_t;
| ^~~~~
Make <asm/pgtable.h> self-contained by including <asm/page.h>.
Reported-by: Jani Nikula <jani.nikula@xxxxxxxxx>
Closes: https://lore.kernel.org/r/878r2uxwha.fsf@xxxxxxxxx
Signed-off-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
---
Jani: Feel free to pick this up as a dependency.
Else I will queue this in the m68k tree for v6.10.
Thanks, I'd like to pick this up as a dependency, so I can proceed with
my series. It'll also be queued for v6.10 via the drm subsystem.
Replying here too, I've merged this via drm-misc-next as d1815393cac0
("m68k: pgtable: Add missing #include <asm/page.h>").
Thanks for the patch!
BR,
Jani.
--
Jani Nikula, Intel