* [PATCH 2.6.10-rc3] ppc32: Compile classic PPC specific ASM only on CONFIG_6xx
@ 2004-12-15 15:06 Tom Rini
0 siblings, 0 replies; only message in thread
From: Tom Rini @ 2004-12-15 15:06 UTC (permalink / raw)
To: Andrew Morton, Kernel Mailing List, Linus Torvalds; +Cc: linuxppc-embedded
[ I hope this can go in prior to 2.6.10 ]
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: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Tom Rini <trini@kernel.crashing.org>
---
util.S | 2 ++
1 files changed, 2 insertions(+)
---
Index: 2.6.10-rc3/arch/ppc/boot/common/util.S
===================================================================
--- 2.6.10-rc3/arch/ppc/boot/common/util.S (revision 11)
+++ 2.6.10-rc3/arch/ppc/boot/common/util.S (working copy)
@@ -27,6 +27,7 @@
.text
+#ifdef CONFIG_6xx
.globl disable_6xx_mmu
disable_6xx_mmu:
/* Establish default MSR value, exception prefix 0xFFF.
@@ -94,6 +95,7 @@
sync
isync
blr
+#endif
.globl _setup_L2CR
_setup_L2CR:
--
Tom Rini
http://gate.crashing.org/~trini/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-12-15 15:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-15 15:06 [PATCH 2.6.10-rc3] ppc32: Compile classic PPC specific ASM only on CONFIG_6xx Tom Rini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox