Thread (19 messages) flat view 19 messages, 5 authors, 2010-08-24

Re: [PATCH 1/2] powerpc: Make rwsem use "long" type

From: Timur Tabi <hidden>
Date: 2010-08-24 01:37:31
Also in: lkml, sparclinux

On Fri, Aug 20, 2010 at 12:14 AM, Benjamin Herrenschmidt
[off-list ref] wrote:
=A0static inline int rwsem_is_locked(struct rw_semaphore *sem)
=A0{
- =A0 =A0 =A0 return (sem->count !=3D 0);
+ =A0 =A0 =A0 return sem->count !=3D 0;
=A0}
Does this change make the code do anything different?

--=20
Timur Tabi
Linux kernel developer at Freescale
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help