parisc: fix miscompilation of ip_fast_csum with gcc >= 4.3
authorKyle McMartin <kyle@minerva.i.cabal.ca>
Sat, 31 May 2008 16:15:42 +0000 (12:15 -0400)
committerKyle McMartin <kyle@minerva.i.cabal.ca>
Fri, 13 Jun 2008 14:49:56 +0000 (10:49 -0400)
commite374d17cd74ec5967f81e2b0c67ec3219a2bbbcc
treee7383635119fc66a60edaaa36b4df2078337a86f
parentf4441b62d46e7033e907dfd6a8bb0b75b5519e88
parisc: fix miscompilation of ip_fast_csum with gcc >= 4.3

ip_fast_csum needs an asm "memory" clobber, otherwise the aggressive
optimizations in gcc-4.3 cause it to be miscompiled.

Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
include/asm-parisc/checksum.h