sysv: [bl]e*_add_cpu conversion
authorMarcin Slusarz <marcin.slusarz@gmail.com>
Wed, 30 Apr 2008 07:54:49 +0000 (00:54 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 30 Apr 2008 15:29:52 +0000 (08:29 -0700)
commit07132922aac0caf807c56b9c2a388954b357a8c4
treeb55a41ec3016ffdcfe54586b4b89c8bec214ce1a
parente3592b12f507d2c12c883d9c18084b72a5710db3
sysv: [bl]e*_add_cpu conversion

replace all:
big/little_endian_variable = cpu_to_[bl]eX([bl]eX_to_cpu(big/little_endian_variable) +
expression_in_cpu_byteorder);
with:
[bl]eX_add_cpu(&big/little_endian_variable, expression_in_cpu_byteorder);
generated with semantic patch

Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Cc: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/sysv/sysv.h