From: Linus Torvalds Date: Fri, 24 Jun 2005 17:39:17 +0000 (-0700) Subject: Add "memory" clobbers to the x86 inline asm of strncmp and friends X-Git-Tag: v2.6.13-rc1~68^2~253 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=793ae77469121227cd910c4b99f24be1de34bcca;p=pandora-kernel.git 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. --- Reading git-diff-tree failed