All of lore.kernel.org
 help / color / mirror / Atom feed
From: tglx@linutronix.de
To: trini@kernel.crashing.org
Cc: linuxppc-embedded@ozlabs.org
Subject: [PATCH] Compile 6xx specific code only for 6xx machines
Date: Wed, 15 Dec 2004 15:21:43 +0100	[thread overview]
Message-ID: <20041215152142.1.patchmail@tglx> (raw)

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:

             reply	other threads:[~2004-12-15 15:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-15 14:21 tglx [this message]
2004-12-15 14:35 ` [PATCH] Compile 6xx specific code only for 6xx machines Tom Rini
2004-12-15 14:49   ` Thomas Gleixner
2004-12-15 15:15     ` Kumar Gala
2004-12-15 15:18       ` Thomas Gleixner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20041215152142.1.patchmail@tglx \
    --to=tglx@linutronix.de \
    --cc=linuxppc-embedded@ozlabs.org \
    --cc=trini@kernel.crashing.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.