drivers: misc: update pmem

still pretty old but is at least working
msm: add support for socinfo and internal_power_rail
drivers: video: msm: fix build for new pmem
workqueue: add is_workqueue_empty() api

This is needed when you want to perform work in one worker thread
context but have a synchronization point in another thread context
where you need to know if all the works queued to the workqueue for
the worker thread have finished execution.

Signed-off-by: Pratik Patel <pratikp@codeaurora.org>
(cherry picked from commit 4e507d05b0843663f8dd421dd429df4bc19a5ef6)

Change-Id: I147359d17dc7032a463baecd13de4a1ac6b11631
Signed-off-by: Sunil Joseph <sunilj@codeaurora.org>
thp: ksm: free swap when swapcache page is replaced

When a swapcache page is replaced by a ksm page, it's best to free that
swap immediately.

Reported-by: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: Hugh Dickins <hughd@google.com>
Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
msm: htcleo: cleanup in board file
msm: socinfo: add preprocessor macros
msm: socinfo: add preprocessor macros
msm: clock-wince: Add clk_round_rate
Disable paranoid sd init
msm: qdsp6: venc: add missing IOCTL command
pmem: explicitly include sched.h

fixes build on bravo
cgroup: fix cpuset permission check

The permission check code added by "cgroup: Add generic cgroup subsystem
permission checks" does not build and also leaves a variable uninitialized.
Fix it.

Change-Id: I8009d6315527725d45b20792b7cd74aedc9bff44
Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Signed-off-by: Christian Bejram <christian.bejram@stericsson.com>
msm: htcleo: update defconfig for zram changes