linux-origin
[Top] [All Lists]

Re: broken compiler?

To: Kanoj Sarcar <kanoj@xxxxxxxxxxxxxxxxxxx>
Subject: Re: broken compiler?
From: Ralf Baechle <ralf@xxxxxxxxxxx>
Date: Wed, 29 Mar 2000 02:17:30 +0200
Cc: linux-origin@xxxxxxxxxxx
In-reply-to: <200003290011.QAA48210@xxxxxxxxxxxxxxxxxxx>
References: <20000329020346.A1451@xxxxxxxxxxxxxx> <200003290011.QAA48210@xxxxxxxxxxxxxxxxxxx>
Sender: owner-linux-origin@xxxxxxxxxxx
On Tue, Mar 28, 2000 at 04:11:04PM -0800, Kanoj Sarcar wrote:

> Which means, given an arbitrary address (and not the type), you have to do 
> a lw, and not a ld, to access it. Which pretty much means that all the 
> bitops routines need to do ll/sc instead of lld/scd. I will try out some
> changes and see if it helps. (btw, I don't know what bestiality would
> occur if you did a lld on a non dword aligned addr anyway).

The kernel would try to send a SIGBUS to the current process.

  Ralf

<Prev in Thread] Current Thread [Next in Thread>