Skip to content

Commit 3e9807a

Browse files
btw616jmberg-intel
authored andcommitted
um: Include missing headers in asm/pgtable.h
Formerly, asm/pgtable.h relied on the implicit inclusion of asm/page.h and linux/mm_types.h via asm/fixmap.h. With the removal of asm/fixmap.h, these headers need to be included explicitly in asm/pgtable.h now. Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Fixes: 5bfc4a3 ("um: Remove obsolete fixmap support") Signed-off-by: Tiwei Bie <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Johannes Berg <[email protected]>
1 parent af10dd1 commit 3e9807a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

arch/um/include/asm/pgtable.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
#ifndef __UM_PGTABLE_H
99
#define __UM_PGTABLE_H
1010

11+
#include <asm/page.h>
12+
#include <linux/mm_types.h>
13+
1114
#define _PAGE_PRESENT 0x001
1215
#define _PAGE_NEEDSYNC 0x002
1316
#define _PAGE_RW 0x020

0 commit comments

Comments
 (0)