cpuinit: get rid of __cpuinit
This commit is the result of:

find -name "*.c" | xargs sed -i "s/ __cpuinit / /g"
find -name "*.c" | xargs sed -i "s/ __cpuexit / /g"
find -name "*.c" | xargs sed -i "s/ __cpuinitdata//g"
find -name "*.c" | xargs sed -i "s/ __cpuinit$//g"
find arch/ -name "*.h" | xargs sed -i "s/ __cpuinit//g"
find -name "*.c" | xargs sed -i "s/^__cpuinit //g"
cpuinit: get rid of __cpuinit, manual fixups

a few final fixups that haven't been caught by regexps

Change-Id: I35fd08c2adaea39d42e45fbb30aae2b4ef3d8c9b
Signed-off-by: Dennis Rassmann <showp1984@gmail.com>

Conflicts:

	arch/x86/kernel/cpu/scattered.c
kbuild: drop cpuinit/cpuexit checks in modpost

With the removal of cpuinit/cpuexit we no longer need to
do section mismatch checks on these sections.

Drop it from modpost.

Change-Id: I3aef30b438c810d62c86c1acc804349b0d0f7afa
Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
revert hacks for the previous misuse of __cpuinit for hotplug only functions

Change-Id: I16921fe67193e20dbddc05e424ffcb8a7a038c12
Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
mach-msm: Add msm_mpdecision Kconfig & Makefile hooks
Also rename qcom's mpdecision to stay in place and be used if CONFIG_MSM_MPDEC is not set

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>

Conflicts:
	arch/arm/mach-msm/Makefile

Change-Id: Iffe7f9860c87a5cdbb88aaf63f68e5daf9e77152
mach-msm: Add msm_mpdecision
This currently only does the following thing:
Screen on -> CPU1 online
Screen off -> CPU1 offline

More to come.

Change-Id: I7a6fd8f82eb0539b10c4ffdd388dcd30bd080e79
Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
mach-msm: mpdecision: small cleanup

Change-Id: I3adf456ff035251181713539a9ee5ee1b961f180
Signed-off-by: showp1984 <showp1984@gmail.com>
mach-msm: mpdecision: add load based decision making

This now works like the mpdecision binary from QCOM.
CPU hotplugging/unplugging based on system load.

A sysfs interface will be built in with a later commit.

Signed-off-by: showp1984 <showp1984@gmail.com>

Conflicts:
	arch/arm/mach-msm/msm_rq_stats.c

Change-Id: If94332ef28e4db844a69c480a1cdbea2f2edd0fa
mach-msm: mpdecision: restructure locks, add delay

The new delay allows the CPU to come up before any other action is taken.
This prevents fast plugging and also ensures the CPU hotplug process
is really done, before trying to unplug it again (or plug it).

The new locks are more efficient, and only used if necessary.

Change-Id: I0d8ae8a19f16c90cf776f0e701dfe8007099c018
Signed-off-by: showp1984 <showp1984@gmail.com>
mach-msm: mpdecision: pause if CPU is unplugged outside of mpdecision

This fixes cpu wars if something else tries to control the cpus.
default delay: 10000ms

Change-Id: If61ce3c1317ae362c323e1b0b8bfc5bfff47defc
Signed-off-by: showp1984 <showp1984@gmail.com>
mach-msm: mpdecision: change early_suspend_level to blank_screen

Change-Id: I1dbb39575981f6b901b351a77e5319adeda29216
Signed-off-by: showp1984 <showp1984@gmail.com>
mach-msm: mpdecision: don't start immediately

Change-Id: I49c1b1f35005ffa19916d0aacd3163f1d29eddde
Signed-off-by: showp1984 <showp1984@gmail.com>
mach-msm: mpdecision: show cpumask after up/down

Change-Id: Ib1b77347f54323a15c22b9af688148f0f57fabce
Signed-off-by: showp1984 <showp1984@gmail.com>
mach-msm: mpdecision: always set the suspend var

Change-Id: Id10a033a1ad8417b14a86cbfd7189ab04333f474
Signed-off-by: showp1984 <showp1984@gmail.com>
mach-msm: mpdecision: remove up/down delay, our default delay is large enough

Change-Id: I869e95bd9c37fddb0d348789f5f665f17fbe38f8
Signed-off-by: showp1984 <showp1984@gmail.com>
mach-msm: mpdecision: add email to (c)

Change-Id: Ieffa72c3ecf0846f19d29211469530d9ec4c5254
Signed-off-by: showp1984 <showp1984@gmail.com>
mach-msm: mpdecision: fix foreign hotplug/unplug detection

Signed-off-by: showp1984 <showp1984@gmail.com>

Conflicts:

	arch/arm/mach-msm/msm_mpdecision.c

Change-Id: I69defaccefd7e142beaf9b77ca5b6950ad7534e0
mach-msm: mpdecision: show how long the cpu was online

Change-Id: I2ee8a96baef29d9e72f952a155ed008ce226bd5e
Signed-off-by: showp1984 <showp1984@gmail.com>
mach-msm: mpdecision: rename msm_mpdec_suspend to msm_mpdec_cpudata

Since this is being used for more than suspend stuff the old name
just isn't accurate anymore.

Change-Id: I119159b5124aafbd23dfcbf88ab478d2d1f42e13
Signed-off-by: showp1984 <showp1984@gmail.com>
mach-msm: mpdecision: add sysfs interface

Change-Id: Ic79683cb23ee49bddda1a75f70dcb7951f6bb943
Signed-off-by: showp1984 <showp1984@gmail.com>