DORMANTno replies

[PATCH] ARM: asm: add ARM_BE8 wapper to BE8 code

From: Sheng Yong <hidden>
Date: 2014-09-16 07:06:58
Subsystem: arm port, the rest · Maintainers: Russell King, Linus Torvalds

Use ARM_BE8 wrapper to code if CONFIG_CPU_BIG_ENDIAN is configured.

Signed-off-by: Sheng Yong <redacted>
---
 arch/arm/kernel/head.S |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/arch/arm/kernel/head.S b/arch/arm/kernel/head.S
index 664eee8..35ef767 100644
--- a/arch/arm/kernel/head.S
+++ b/arch/arm/kernel/head.S
@@ -199,9 +199,7 @@ __create_page_tables:
 	bne	1b
 
 	add	r4, r4, #0x1000			@ point to the PMD tables
-#ifdef CONFIG_CPU_ENDIAN_BE8
-	add	r4, r4, #4			@ we only write the bottom word
-#endif
+ARM_BE8(add	r4, r4, #4)			@ we only write the bottom word
 #endif
 
 	ldr	r7, [r10, #PROCINFO_MM_MMUFLAGS] @ mm_mmuflags
-- 
1.7.9.5
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help