lkml.org 
[lkml]   [2007]   [May]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [RFC/PATCH] doc: volatile considered evil
    Krzysztof Halasa wrote:
    > David Rientjes <rientjes@google.com> writes:
    >
    >
    >> Since 'volatile' has two different semantics depending on the context in
    >> which it is used, this warning should be appended to include the fact that
    >> it is legitimate to use for inline assembly.
    >>
    >
    > I think it hasn't two semantics, it's like arguing that char has two
    > semantics.
    >

    No, David means that "asm volatile (...)" is meaningful and OK to use.

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

    \
     
     \ /
      Last update: 2007-05-08 23:09    [W:4.086 / U:0.128 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site