Re: [RFC/PATCH] doc: volatile considered evil

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Krzysztof Halasa wrote:
> David Rientjes <[email protected]> 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux