git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59a49e3
)
Add "memory" clobbers to the x86 inline asm of strncmp and friends
author
Linus Torvalds
<torvalds@ppc970.osdl.org>
Fri, 24 Jun 2005 17:39:17 +0000
(10:39 -0700)
committer
Linus Torvalds
<torvalds@ppc970.osdl.org>
Fri, 24 Jun 2005 17:39:17 +0000
(10:39 -0700)
They don't actually clobber memory, but gcc doesn't even know they
_read_ memory, so can apparently re-order memory accesses around them.
Which obviously does the wrong thing if the memory access happens to
change the memory that the compare function is accessing..
Verified to fix a strange boot problem by Jens Axboe.
No differences found