Re: [PATCH] asm-generic/io.h: Implement read[bwlq]_relaxed()

From: Daniel Thompson
Date: Tue Sep 09 2014 - 09:11:56 EST


On 09/09/14 13:31, Geert Uytterhoeven wrote:
> Hi Daniel,
>
> On Tue, Sep 9, 2014 at 2:12 PM, Daniel Thompson
> <daniel.thompson@xxxxxxxxxx> wrote:
>> Currently the read[bwlq]_relaxed() family are implemented on every
>> architecture except blackfin, m68k[1], metag, openrisc, s390[2] and
>> score. Increasingly drivers are being optimized to exploit relaxed
>> reads putting these architectures at risk of compilation failures for
>> shared drivers.
>>
>> This patch addresses this by providing implementations of
>> read[bwlq]_relaxed() that are identical to the equivalent read[bwlq]().
>> All the above architectures include asm-generic/io.h .
>
> m68k does not include asm-generic/io.h.

Looking back through my command history I can't figure out how I made
this mistake.

I will change the comment.

For the record I have also just double checked blackfin, metag,
openrisc, s390 and score and these really do use asm-generic/io.h .


Daniel.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/