projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d78a62
)
mips: use generic_pmdp_establish as pmdp_establish
author
Kirill A. Shutemov
<
[email protected]
>
Thu, 1 Feb 2018 00:17:58 +0000
(16:17 -0800)
committer
Linus Torvalds
<
[email protected]
>
Thu, 1 Feb 2018 01:18:37 +0000
(17:18 -0800)
MIPS doesn't support hardware dirty/accessed bits.
generic_pmdp_establish() is suitable in this case.
Link:
http://lkml.kernel.org/r/
[email protected]
Signed-off-by: Kirill A. Shutemov <
[email protected]
>
Cc: Ralf Baechle <
[email protected]
>
Cc: David Daney <
[email protected]
>
Cc: Vlastimil Babka <
[email protected]
>
Cc: Andrea Arcangeli <
[email protected]
>
Cc: Michal Hocko <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
arch/mips/include/asm/pgtable.h
patch
|
blob
|
history
diff --git
a/arch/mips/include/asm/pgtable.h
b/arch/mips/include/asm/pgtable.h
index 1a508a74d48d3f70595a2c5981b114f3e37d1061..129e0328367f2de7beb95738c991452e7ee12aa7 100644
(file)
--- a/
arch/mips/include/asm/pgtable.h
+++ b/
arch/mips/include/asm/pgtable.h
@@
-534,6
+534,9
@@
static inline int io_remap_pfn_range(struct vm_area_struct *vma,
#ifdef CONFIG_TRANSPARENT_HUGEPAGE
+/* We don't have hardware dirty/accessed bits, generic_pmdp_establish is fine.*/
+#define pmdp_establish generic_pmdp_establish
+
#define has_transparent_hugepage has_transparent_hugepage
extern int has_transparent_hugepage(void);