 - In rw_wunlock_hard prefer to wakeup writers if there are both readers    and writers available.  Doing otherwise can cause deadlocks as no    read locks can proceed while there are write waiters.
 - In rw_wunlock_hard prefer to wakeup writers if there are both readers
   and writers available.  Doing otherwise can cause deadlocks as no
   read locks can proceed while there are write waiters.

Sponsored by:	Nokia

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase