projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8bdca0a
)
nommu: Do not set PRRR and NMRR in proc-v7.S if !MMU
author
Catalin Marinas
<catalin.marinas@arm.com>
Fri, 24 Jul 2009 11:35:06 +0000
(12:35 +0100)
committer
Catalin Marinas
<catalin.marinas@arm.com>
Fri, 24 Jul 2009 11:35:06 +0000
(12:35 +0100)
ARMv7-R profile CPUs do not have these registers.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm/mm/proc-v7.S
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mm/proc-v7.S
b/arch/arm/mm/proc-v7.S
index c19aecdb20216dd06d25abdf94122222a2fb2bea..f3fa1c32fe923cb93f0e73fc14f883182b55df57 100644
(file)
--- a/
arch/arm/mm/proc-v7.S
+++ b/
arch/arm/mm/proc-v7.S
@@
-234,7
+234,6
@@
__v7_setup:
mcr p15, 0, r4, c2, c0, 1 @ load TTB1
mov r10, #0x1f @ domains 0, 1 = manager
mcr p15, 0, r10, c3, c0, 0 @ load domain access register
-#endif
/*
* Memory region attributes with SCTLR.TRE=1
*
@@
-267,6
+266,7
@@
__v7_setup:
ldr r6, =0x40e040e0 @ NMRR
mcr p15, 0, r5, c10, c2, 0 @ write PRRR
mcr p15, 0, r6, c10, c2, 1 @ write NMRR
+#endif
adr r5, v7_crval
ldmia r5, {r5, r6}
#ifdef CONFIG_CPU_ENDIAN_BE8