Revert "Inline ldrex/strex for thumb2, remove ARMv5 remnants."

This reverts commit 62980e817c51c56208971ed5c3e98e0cb21e1685.
Merge remote-tracking branch 'upstream/cm-10.2' into cm-10.2
Merge remote-tracking branch 'cm/cm-10.2' into cm-10.2
Merge remote-tracking branch 'cm/cm-10.2' into cm-10.2
Merge remote-tracking branch 'cm/cm-10.2' into cm-10.2
Merge remote-tracking branch 'cm/cm-10.2' into cm-10.2
Merge remote-tracking branch 'cm/cm-10.2' into cm-10.2
Merge remote-tracking branch 'cm/cm-10.2' into cm-10.2
sdcard: Allow building as a static library

 * Split main() out in order to allow linking with a multi-call
   executable such as recovery.

Change-Id: I3325135e47e4dd5af3912f5ce67ec64007d54a63
Merge remote-tracking branch 'cm/cm-10.2' into cm-10.2
init: define BOARD_CHARGING_CMDLINE parameters

Change-Id: I722e49e2a13418bf887c361c85e9d102168ca973
Merge remote-tracking branch 'cm/cm-10.2' into cm-10.2
Revert "init.rc: Create /storage mountpoint so Dalvik can mark as slave in zygotes"

No longer needed as Dalvik no longer marks /storage as slave in zygotes.

This reverts commit 4a8f70d11b225fbf56aca6e494f4de35fc727dc7.

Change-Id: I0bfb86f2cc10ccdc10daa7419ac4d252c8dfbae8
Implement corrected sysinit (init.d) system (1/2)

This loads the init.d scripts before the Android services are
started allowing the use of the functions Mounts2SD provides.

Change-Id: I2cdaf491b3d65e6c803c223e419f574370e366a4
Merge remote-tracking branch 'cm/cm-10.2' into cm-10.2
Merge remote-tracking branch 'armv6/cm-10.2' into jb3