All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <trini@kernel.crashing.org>
To: Meelis Roos <mroos@linux.ee>,
	Marcelo Tosatti <marcelo.tosatti@cyclades.com.br>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.4.23+BK: PPC compile error
Date: Mon, 8 Dec 2003 08:29:54 -0700	[thread overview]
Message-ID: <20031208152954.GY912@stop.crashing.org> (raw)
In-Reply-To: <Pine.GSO.4.44.0312081201500.13502-100000@math.ut.ee>

On Mon, Dec 08, 2003 at 12:02:44PM +0200, Meelis Roos wrote:

> gcc -D__ASSEMBLY__ -D__KERNEL__ -I/home/mroos/compile/linux-2.4/include -I/home/mroos/compile/linux-2.4/arch/ppc   -c -o cpu_setup_6xx.o cpu_setup_6xx.S
> cpu_setup_6xx.S: Assembler messages:
> cpu_setup_6xx.S:164: Error: Unrecognized opcode: `andi'

[ donning brown paper bag ]
Marcelo, please apply the following:

PPC32: Fix a thinko in arch/ppc/kernel/cpu_setup_6xx.S

--- 1.6/arch/ppc/kernel/cpu_setup_6xx.S	Wed Dec  3 08:48:47 2003
+++ edited/arch/ppc/kernel/cpu_setup_6xx.S	Mon Dec  8 08:26:37 2003
@@ -161,7 +161,7 @@
 	rlwinm	r3,r10,16,16,31
 	cmplwi	r3,0x000c
 	bne	1f			/* Not a 7400. */
-	andi	r3,r10,0x0f0f
+	andi.	r3,r10,0x0f0f
 	cmpwi	0,r3,0x0200
 	bgt	1f			/* Rev >= 2.1 */
 	li	r3,HID0_SGE		/* 7400 rev < 2.1, clear SGE. */

-- 
Tom Rini
http://gate.crashing.org/~trini/

  reply	other threads:[~2003-12-08 15:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-08 10:02 2.4.23+BK: PPC compile error Meelis Roos
2003-12-08 15:29 ` Tom Rini [this message]
2003-12-10 13:22   ` Meelis Roos

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=20031208152954.GY912@stop.crashing.org \
    --to=trini@kernel.crashing.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo.tosatti@cyclades.com.br \
    --cc=mroos@linux.ee \
    /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.