aboutsummaryrefslogtreecommitdiff
path: root/arch/m68k
diff options
context:
space:
mode:
authorGravatar Geert Uytterhoeven <geert@linux-m68k.org> 2024-03-08 13:55:46 +0200
committerGravatar Jani Nikula <jani.nikula@intel.com> 2024-03-11 11:47:06 +0200
commitd1815393cac0a527136fa83846dbbbea4cbbd8ad (patch)
tree99cbd81efbc58cf07891551f4328a75c68927780 /arch/m68k
parentdrm/i915/pxp: fix i915_pxp_tee_interface.h kernel-doc warnings (diff)
downloadlinux-d1815393cac0a527136fa83846dbbbea4cbbd8ad.tar.gz
linux-d1815393cac0a527136fa83846dbbbea4cbbd8ad.tar.bz2
linux-d1815393cac0a527136fa83846dbbbea4cbbd8ad.zip
m68k: pgtable: Add missing #include <asm/page.h>
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@intel.com> Closes: https://lore.kernel.org/r/878r2uxwha.fsf@intel.com Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/af9e22b878f59223adb593f5bbd5b61432120010.1709898638.git.jani.nikula@intel.com
Diffstat (limited to 'arch/m68k')
-rw-r--r--arch/m68k/include/asm/pgtable.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/m68k/include/asm/pgtable.h b/arch/m68k/include/asm/pgtable.h
index 27525c6a12fd..49fcfd734860 100644
--- a/arch/m68k/include/asm/pgtable.h
+++ b/arch/m68k/include/asm/pgtable.h
@@ -2,6 +2,8 @@
#ifndef __M68K_PGTABLE_H
#define __M68K_PGTABLE_H
+#include <asm/page.h>
+
#ifdef __uClinux__
#include <asm/pgtable_no.h>
#else