Remove some spam from logcat, remove pwrlevel code

Change-Id: I8095a4427cb5af276a95cae2bdcaf58220c8ea98
mm: ashmem: fix deadlock when system is low on memory
When system is low on memory, allocating memory while holding the
ashmem_mutex may try to directly reclaim memory. Then ashmem_shrink()
is called in same thread. It will deadlock at acquiring ashmem_mutex.
This change lets ashmem_shrink() return failure if ashmem_mutex is not
available. Memory will be reclaimed from others.

Change-Id: I3b6024d5477d37245f4ebde6d7069fb77af789ee
Signed-off-by: Yuanyuan Zhong <yuanyuan.zhong@gmail.com>
Disable triple buffering

Change-Id: I13034b8b0a9ad002ae86e1392aca14b5e59489a4
kernel: Prevent unnecessary rfkill event generation.

Prevent unnecessary rfkill event generation when the state has
not actually changed. These events have to be delivered to
relevant userspace processes, causing these processes to wake
up and do something while they could as well have slept. This
obviously results in more CPU usage, longer time-to-sleep-again
and therefore higher power consumption.

Change-Id: I3ac4e141fbdf1315b74d3bad6aa96f34b00c3f92
CRs-fixed: 398283
Signed-off-by: Vitaly Wool <vitalywool@gmail.com>
Signed-off-by: Mykyta Iziumtsev <nikita.izyumtsev@gmail.com>
Signed-off-by: Deepthi Gowri <deepthi@codeaurora.org>
rfkill: properly assign a boolean type

Change-Id: If41353e57f5db85cdf9a0ac61d1e97df04aff6c5
Signed-off-by: Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Recovery reboot fix for Samsung msm7x27 devices

Enable CONFIG_RECOVERY_REBOOT when building recovery kernels
to workaround issue with recovery mode looping infinitely.

Change-Id: Id3c3abd4f7cb32b952f8ca5e8b3a14f8333dc2fd
Disable TRIPLE_FRAMEBUFFER
Replace old compcache with new ZRAM

Change-Id: I96aac0f9547934b1e4c7472b36d640bffdf6967e
galaxy5: enable zram

Change-Id: I9e2c0759076998c1ad326206dd4ac74f05a6d404
Clean cooper board

Change-Id: Ia345f19e22260998ff9bf42533f7c137c4b92ba1
Merge "Clean cooper board" into cm-10.1
ARM: simplify early machine init hooks

Rather than storing each machine init hook separately, store a
pointer to the machine description record and dereference this
instead.  This pointer is only available while the init sections
are present, which is not a problem as we only use it from init
code.

Change-Id: Ib86b2a6c9fb8e5a9e933f2815b6186b211974500
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
ARM: provide an early platform initialization hook

This allows platforms to hook into the initialization early to setup
things like scheduler clocks, etc.

Change-Id: I1193637f34b79ad9311aeccd3b0b31b4a07819ce
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Merge remote-tracking branch 'androidarmv6/cm-10.1' into ics-wip
set ics version
bring back usb support