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

Daniel Thompson
2014-09-09T13:11:53Z

On 09/09/14 13:31, Geert Uytterhoeven wrote:
> Hi Daniel,
>
> On Tue, Sep 9, 2014 at 2:12 PM, Daniel Thompson
> <daniel.thompson@linaro.org> 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.