Revert "PM / Sleep: Add wake lock api wrapper on top of wakeup sources"

This reverts commit e7704555a41bf25c775f8e51a1c78de21d887700.
Revert "PM / Sleep: Clean up remnants of workqueue-based sync"

This reverts commit c7300511dcc050c7d47dc5b981ee3295cd15b1e6.
Revert "freezer: shorten freezer sleep time using exponential backoff"

This reverts commit 7094567eb1be419a322f20b6d60723f3fc71718f.
Revert "Revert "PM: wakelock: Abort task freezing if a wake lock is held.""

This reverts commit 308bb4dbe66229fb9c62da642070bc6093af260b.
Revert "PM / Sleep: Fix a mistake in a conditional in autosleep_store()"

This reverts commit 5d0c1618d1f26c4eed7e7bb6cfb1c1dbc903194e.
Revert "power: main: Add conditional compilation for touch nodes"

This reverts commit 2d6ac2bc09050cb2382e95d61bd55711fcc5bd95.
Revert "PM / Sleep: User space wakeup sources garbage collector Kconfig option"

This reverts commit 9fc7e0219efe4306ba9d4472505d8417e74f554a.
Revert "PM / Sleep: Make the limit of user space wakeup sources configurable"

This reverts commit c1caf06528a72b479c1a21afffa882622a3bfc46.
Revert "PM / Sleep: Print name of wakeup source that aborts suspend"

This reverts commit 36a0d36c3d885ee0ae1b9b3397cff5bbb261a7ee.
Revert "PM / Sleep: Add user space interface for manipulating wakeup sources, v3"

This reverts commit e20b7d58152d7e655c71a55f511fb3747bc6215b.
Revert "PM / Sleep: Add "prevent autosleep time" statistics to wakeup sources"

This reverts commit 5d7d63623a9eaf0bb7a56622eb25dcc2176bc9d7.
Revert "PM / Sleep: Implement opportunistic sleep, v2"

This reverts commit 9c141073fcb77ba0267aa9f73a376f69bc6230a2.
Revert "PM / Sleep: Add wakeup_source_activate and wakeup_source_deactivate tracepoints"

This reverts commit 9975d6b135c42681d41fe909a0f24e961b4de9a8.
Revert "PM / Sleep: Change wakeup source statistics to follow Android"

This reverts commit 231505efec7910cf6249286c69bf8467cbf6fa12.
Revert "PM / Sleep: Use wait queue to signal "no wakeup events in progress""

This reverts commit bac595f3f46aebbc2fa08035d0b5cfb47fb8a66e.
jiffies conversions: Use compile time constants when possible

Date	Fri, 04 Jan 2013 13:15:43 -0800

Do the multiplications and divisions at compile time
instead of runtime when the converted value is a constant.

Make the calculation functions static __always_inline to jiffies.h.

Add #defines with __builtin_constant_p to test and use the
static inline or the runtime functions as appropriate.

Prefix the old exported symbols/functions with __

Signed-off-by: Paul Reioux <reioux@gmail.com>
msm: kgsl: show current power level for 8974 SOCs.

since 8974 uses duplicate frequencies in its table, it's not possible to tell
which of the duplicates is actually in use

Signed-off-by: Paul Reioux <reioux@gmail.com>
ARM: smp: Save CPU registers before IPI_CPU_STOP processing

When a kernel panic occurs on one CPU, other CPUs are instructed to stop
execution via the IPI_CPU_STOP message. These other CPUs dump their stack,
which may not be good enough to reconstruct their context to perform
post-mortem analysis. Dump each CPU's context
(before it started procesing the IPI) into a globally accessible structure
to allow for easier post-mortem debugging.

Change-Id: I68ac75f73d7ddaebaff9122b23e341bcb00e8fb9
Signed-off-by: Tingting Yang <tingting@codeaurora.org>
.