Skip to content
Commit b862f3b0 authored by Linus Torvalds's avatar Linus Torvalds
Browse files

i386: improve and correct inline asm memory constraints



Use "+m" rather than a combination of "=m" and "m" for improved clarity
and consistency.

This also fixes some inlines that incorrectly didn't tell the compiler
that they read the old value at all, potentially causing the compiler to
generate bogus code.  It appear that all of those potential bugs were
hidden by the use of extra "volatile" specifiers on the data structures
in question, though.

Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent e2a3d402
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment