Revert "ARM: 8047/1: rwsem: use asm-generic rwsem implementation"

This reverts commit b174da8db11d3b5d75adb59b9f05c1027a3b2dc9.
Revert "smp: Add task_struct argument to __cpu_up()"

This reverts commit fbf5e78ecc0af2df128d11f9564a53a663b86f43.
cpufreq: Backport commit 8770f9f9171e869cf6398d1af3fa1231badbbc9e

Signed-off-by: Zhao Wei Liew <zhaoweiliew@gmail.com>