diff options
author | Richard Purdie <rpurdie@rpsys.net> | 2006-02-01 19:26:00 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-02-01 19:26:00 +0000 |
commit | 62500d1f8eadff078cca462dc4df035a29180383 (patch) | |
tree | 774ad280d77841292b0fb7bd1fe6f99251aa38c2 /include/asm-sh/cpu-sh3 | |
parent | afe5df208e6ecd09b7d1acf36eb2cf945842bee5 (diff) |
[ARM] 3292/1: Fix memory corruption in asm-arm/checksum.h: ip_fast_csum()
Patch from Richard Purdie
ip_fast_csum() accesses memory via a pointer (iph) within an
asm function. To prevent memory corruption when the function is
inlined, it needs "memory" on the clobber list.
This fixes ip checksum errors reported by a Zaurus user.
Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-sh/cpu-sh3')
0 files changed, 0 insertions, 0 deletions