]> git.baikalelectronics.ru Git - kernel.git/commit
parisc: Remove casts from atomic macros
authorBastian Blank <waldi@debian.org>
Sat, 4 Apr 2009 20:54:26 +0000 (20:54 +0000)
committerKyle McMartin <kyle@mcmartin.ca>
Fri, 3 Jul 2009 03:34:06 +0000 (03:34 +0000)
commite6135e8c43e283462c29ee7b7117d318e0734d08
treec01646bbb0e4c5f44d0306398e32c1bb1563b9b5
parent3fcbe65986e97facd9365c116331b7347055a553
parisc: Remove casts from atomic macros

The atomic operations on parisc are defined as macros. The macros
includes casts which disallows the use of some syntax elements and
produces error like this:

net/phonet/pep.c: In function 'pipe_rcv_status':
net/phonet/pep.c:262: error: lvalue required as left operand of assignment

The patch removes this superfluous casts.

Signed-off-by: Bastian Blank <waldi@debian.org>
Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
arch/parisc/include/asm/atomic.h