diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-24 16:01:24 -0700 |
---|---|---|
committer | Chris Wright <chrisw@osdl.org> | 2005-06-29 16:00:38 -0700 |
commit | 2e8e121926ee6d15151c8e57ddce97275213c5b2 (patch) | |
tree | 7a89595c5fe151cf3b431028e044b847de7e9d3a /drivers/acpi/pci_irq.c | |
parent | 26b1062c23e46c111f5e86bc8ce4d5007805b51a (diff) |
[PATCH] Add "memory" clobbers to the x86 inline asm of strncmp and friends
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.
Signed-off-by: Chris Wright <chrisw@osdl.org>
Diffstat (limited to 'drivers/acpi/pci_irq.c')
0 files changed, 0 insertions, 0 deletions