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

Timur Tabi timur at freescale.com
Tue Aug 24 11:37:23 EST 2010


On Fri, Aug 20, 2010 at 12:14 AM, Benjamin Herrenschmidt
<benh at kernel.crashing.org> wrote:

>  static inline int rwsem_is_locked(struct rw_semaphore *sem)
>  {
> -       return (sem->count != 0);
> +       return sem->count != 0;
>  }

Does this change make the code do anything different?

-- 
Timur Tabi
Linux kernel developer at Freescale


More information about the Linuxppc-dev mailing list