[PATCH 1/3] hvc_dcc: Fix bad code generation by marking assembly volatile

Arnaud Lacombe lacombar at gmail.com
Mon Dec 20 16:49:52 EST 2010


Hi,

On Mon, Dec 20, 2010 at 3:08 PM, Stephen Boyd <sboyd at codeaurora.org> wrote:
> Without marking the asm __dcc_getstatus() volatile my compiler
> decides [...]
What compiler ? That might be a usefull information to know,
espectially 5 years from now when tracing code history. There has been
similar issue with gcc 4.5 recently. AFAIK, in the same idea, the
final change has been to mark the asm volatile.

Thanks,
 - Arnaud



More information about the linux-arm-kernel mailing list