]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit692c14a5931341a37e4fbfca5fa96751187a108f
treec01646bbb0e4c5f44d0306398e32c1bb1563b9b5
parent071327ec9005e9a826d088d37021ed2c88e683f7
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