projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04519e3
)
mm: THP: workaround: fix a build error occurred if FINEGRAINED_THP is disabled
48/264248/1
author
Sung-hun Kim
<sfoon.kim@samsung.com>
Mon, 13 Sep 2021 03:19:39 +0000
(12:19 +0900)
committer
Sung-hun Kim
<sfoon.kim@samsung.com>
Wed, 15 Sep 2021 04:42:34 +0000
(13:42 +0900)
Fixes:
04519e317c60
('mm: THP: workaround: only allow including specific headers for FINEGRAINED_THP configured cases')
Change-Id: Iec1678cb5c45708865a1d18fef88807e7fd47870
Signed-off-by: Sung-hun Kim <sfoon.kim@samsung.com>
mm/khugepaged.c
patch
|
blob
|
history
diff --git
a/mm/khugepaged.c
b/mm/khugepaged.c
index
34f0c40
..
99cc150
100644
(file)
--- a/
mm/khugepaged.c
+++ b/
mm/khugepaged.c
@@
-24,6
+24,9
@@
#ifdef CONFIG_FINEGRAINED_THP
#include <asm/finegrained_thp.h>
#include <asm/huge_mm.h>
+#else
+#include <asm-generic/finegrained_thp.h>
+#include <asm-generic/huge_mm.h>
#endif
#include "internal.h"