projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e0fe04
)
m68k: pgtable: Add missing #include <asm/page.h>
author
Geert Uytterhoeven
<geert@linux-m68k.org>
Fri, 8 Mar 2024 11:55:46 +0000
(13:55 +0200)
committer
Jani Nikula
<jani.nikula@intel.com>
Mon, 11 Mar 2024 09:47:06 +0000
(11:47 +0200)
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
arch/m68k/include/asm/pgtable.h
patch
|
blob
|
history
diff --git
a/arch/m68k/include/asm/pgtable.h
b/arch/m68k/include/asm/pgtable.h
index 27525c6a12fd0c7fcf0477a159a7d50d1005afde..49fcfd7348600594d62d5f74d9045414e810e686 100644
(file)
--- 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