Optimized ARM RWSEM algorithm

Optimized ARM RWSEM algorithm

RWSEM implementation for ARM using atomic functions.
Heavily based on arch/sh/include/asm/rwsem.h

Signed-off-by: Ashwin Chaugule <ashwinc@codeaurora.org>
Signed-off-by: Ezekeel <notezekeel@googlemail.com>
my bad
Revert "my bad"

This reverts commit 410da4ad7e30b1a5631b7353cfb99355050b7e5b.