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:
1a6822d
)
powerpc/mm: Add MMU_FTR_KERNEL_RO to possible feature mask
author
Aneesh Kumar K.V
<
[email protected]
>
Mon, 6 Feb 2017 18:39:27 +0000
(
00:09
+0530)
committer
Michael Ellerman
<
[email protected]
>
Tue, 7 Feb 2017 05:29:55 +0000
(16:29 +1100)
Without this we will always find the feature disabled.
Fixes: 984d7a1ec6 ("powerpc/mm: Fixup kernel read only mapping")
Cc:
[email protected]
# v4.7+
Signed-off-by: Aneesh Kumar K.V <
[email protected]
>
Acked-by: Balbir Singh <
[email protected]
>
Signed-off-by: Michael Ellerman <
[email protected]
>
arch/powerpc/include/asm/mmu.h
patch
|
blob
|
history
diff --git
a/arch/powerpc/include/asm/mmu.h
b/arch/powerpc/include/asm/mmu.h
index a34c764ca8dd83435faf75307e30e5149e55de4b..e5616bf83623732eedee0ed203bec02e2985772a 100644
(file)
--- a/
arch/powerpc/include/asm/mmu.h
+++ b/
arch/powerpc/include/asm/mmu.h
@@
-136,6
+136,7
@@
enum {
MMU_FTR_NO_SLBIE_B | MMU_FTR_16M_PAGE | MMU_FTR_TLBIEL |
MMU_FTR_LOCKLESS_TLBIE | MMU_FTR_CI_LARGE_PAGE |
MMU_FTR_1T_SEGMENT | MMU_FTR_TLBIE_CROP_VA |
+ MMU_FTR_KERNEL_RO |
#ifdef CONFIG_PPC_RADIX_MMU
MMU_FTR_TYPE_RADIX |
#endif