linux-atomic.c (EBUSY): Define if not _LP64.
authorHelge Deller <deller@gmx.de>
Sun, 23 Nov 2008 21:14:59 +0000 (21:14 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Sun, 23 Nov 2008 21:14:59 +0000 (21:14 +0000)
commit74e6a47563f8aa912cb0915e8fe9142cd84ac503
treea8af9d8b8ac7d019a3f36cffaa8073bba82e0c93
parent12da694bc0c4464622ffa6ef2185e0219a22efc3
linux-atomic.c (EBUSY): Define if not _LP64.

* pa/linux-atomic.c (EBUSY): Define if not _LP64.
(__kernel_cmpxchg): Return -EBUSY if the kernel LWS call
succeeded and lws_ret is not equal to oldval.

From-SVN: r142141
gcc/ChangeLog
gcc/config/pa/linux-atomic.c