[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120306055211.GA24532@chokladfabriken.org>
Date: Tue, 6 Mar 2012 07:52:11 +0200
From: Stefan Kristiansson <stefan.kristiansson@...nalahti.fi>
To: Richard Weinberger <richard@....at>
Cc: jonas@...thpole.se, linux-kernel@...r.kernel.org,
linux@...ts.openrisc.net
Subject: Re: [ORLinux] [PATCH] OpenRISC: Handle r0 with care
On Mon, Mar 05, 2012 at 10:07:07PM +0100, Richard Weinberger wrote:
> @@ -185,8 +186,8 @@ handler: ;\
> /* ---[ 0x100: RESET exception ]----------------------------------------- */
>
> EXCEPTION_ENTRY(_tng_kernel_start)
> + l.andi r0,r0,0
> l.jal _start
> - l.andi r0,r0,0
>
> /* ---[ 0x200: BUS exception ]------------------------------------------- */
>
The OpenRISC architecture features delay slots, so you probably don't want
to do that.
Stefan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists