Commit b2202545 authored by Tom Rini's avatar Tom Rini Committed by Linus Torvalds

[PATCH] ppc32: Compile classic PPC specific ASM only on CONFIG_6xx

Newer binutils (2.15) when they know they aren't assembling for a
classic target (say e500 instead of 750) disallow certain opcodes,
causing the compile to fail.
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Signed-off-by: default avatarTom Rini <trini@kernel.crashing.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 6805ca03
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
.text .text
#ifdef CONFIG_6xx
.globl disable_6xx_mmu .globl disable_6xx_mmu
disable_6xx_mmu: disable_6xx_mmu:
/* Establish default MSR value, exception prefix 0xFFF. /* Establish default MSR value, exception prefix 0xFFF.
...@@ -94,6 +95,7 @@ disable_6xx_l1cache: ...@@ -94,6 +95,7 @@ disable_6xx_l1cache:
sync sync
isync isync
blr blr
#endif
.globl _setup_L2CR .globl _setup_L2CR
_setup_L2CR: _setup_L2CR:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment