All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Compile 6xx specific code only for 6xx machines
@ 2004-12-15 14:21 tglx
  2004-12-15 14:35 ` Tom Rini
  0 siblings, 1 reply; 5+ messages in thread
From: tglx @ 2004-12-15 14:21 UTC (permalink / raw)
  To: trini; +Cc: linuxppc-embedded

The 6xx specific mmu functions in arch/boot/common/util.S break the compile for
other platforms. Compile them for 6xx only.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
 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:

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-12-15 15:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-15 14:21 [PATCH] Compile 6xx specific code only for 6xx machines tglx
2004-12-15 14:35 ` Tom Rini
2004-12-15 14:49   ` Thomas Gleixner
2004-12-15 15:15     ` Kumar Gala
2004-12-15 15:18       ` Thomas Gleixner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.