Re: Fwd: Bug#561891: Please support sh4
On Tue, Dec 22 2009, Nobuhiro Iwamatsu wrote:
> Hi, Paul.
>
> Thank you for your comment.
>
> 2009/12/22 Paul Mundt <lethal@linux-sh.org>:
> > On Tue, Dec 22, 2009 at 05:47:46AM +0900, Nobuhiro Iwamatsu wrote:
> >> +#define nop __asm__ __volatile__ ("nop": : :"memory")
> >> +#define read_barrier() __asm__ __volatile__ (" " : : : "memory")
> >> +#define write_barrier() __asm__ __volatile__ (" " : : : "memory")
> >
> > This is true for SH-4, but not for SH-4A, which wants a synco for these.
> > See how the kernel does it.
> >
> Oh, I forgot this. Thanks!
>
> > The sooner we stop pretending like SH-4A and SH-4 are the same thing the
> > sooner we stop introducing subtle bugs all over the place.
> >
>
> Martin and Jens, I will send the patch which revised the place that
> Pual pointed.
> Please wait.
OK no prob, thanks!
--
Jens Axboe
Reply to: