projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b32f3af
)
nommu: Add #ifdef CONFIG_MMU around the PTE sanity checks
author
Catalin Marinas
<catalin.marinas@arm.com>
Fri, 24 Jul 2009 11:35:04 +0000
(12:35 +0100)
committer
Catalin Marinas
<catalin.marinas@arm.com>
Fri, 24 Jul 2009 11:35:04 +0000
(12:35 +0100)
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm/mm/proc-macros.S
patch
|
blob
|
history
diff --git
a/arch/arm/mm/proc-macros.S
b/arch/arm/mm/proc-macros.S
index 54b1f721dec883f99d0ac5c9cdc6d8dc75fa747a..f1559c22778430680bb053f3446519556e91f89b 100644
(file)
--- a/
arch/arm/mm/proc-macros.S
+++ b/
arch/arm/mm/proc-macros.S
@@
-77,6
+77,7
@@
* Sanity check the PTE configuration for the code below - which makes
* certain assumptions about how these bits are layed out.
*/
+#ifdef CONFIG_MMU
#if L_PTE_SHARED != PTE_EXT_SHARED
#error PTE shared bit mismatch
#endif
@@
-90,6
+91,7
@@
L_PTE_FILE+L_PTE_PRESENT) > L_PTE_SHARED
#error Invalid Linux PTE bit settings
#endif
+#endif /* CONFIG_MMU */
/*
* The ARMv6 and ARMv7 set_pte_ext translation function.