[lkml]   [2007]   [Jul]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 7/8] i386: bitops: Kill needless usage of __asm__ __volatile__
Satyam Sharma wrote:
> From: Satyam Sharma <>
> [7/8] i386: bitops: Kill needless usage of __asm__ __volatile__
> Another oddity I noticed in this file. The semantics of __volatile__
> when used to qualify inline __asm__ are that the compiler will not
> (1) elid, or, (2) reorder, or, (3) intersperse, our inline asm with
> the rest of the generated code.

"asm volatile" does not mean that at all. It only guarantees (1), and
only then if the asm is ever reachable.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2007-07-23 18:27    [W:0.232 / U:2.608 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site