xtensa: Fix checksum header file
authorChris Zankel <chris@zankel.net>
Thu, 16 Apr 2009 07:28:09 +0000 (00:28 -0700)
committerChris Zankel <chris@zankel.net>
Tue, 12 May 2009 04:48:23 +0000 (21:48 -0700)
commit7dbe5c542464a511f0ea6a14e3ff08874d7e21d5
treebf0d993c1c14726f167da89769050723145909c4
parent35e71f90687fd904b43e3427673827ac3e77b4d1
xtensa: Fix checksum header file

We need to add a "memory" dependency (barrier) in assembly macros
that access (read or write) memory. Otherwise, the compiler might
ill-optimize the order of memory accesses.

Signed-off-by: Chris Zankel <chris@zankel.net>
arch/xtensa/include/asm/checksum.h