diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-24 19:39:17 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-24 19:39:17 +0200 |
commit | 793ae77469121227cd910c4b99f24be1de34bcca (patch) | |
tree | ca8b6bbafab35c5c1099c54696c36dc0b8c17cf7 /fs/qnx4 | |
parent | Merge rsync://rsync.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 (diff) | |
download | linux-793ae77469121227cd910c4b99f24be1de34bcca.tar.xz linux-793ae77469121227cd910c4b99f24be1de34bcca.zip |
Add "memory" clobbers to the x86 inline asm of strncmp and friends
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.
Diffstat (limited to 'fs/qnx4')
0 files changed, 0 insertions, 0 deletions