Merge pull request #1 from CyanogenMod/cm-11.0

Cm 11.0
Merge remote-tracking branch 'gh/cm-11.0' into illusion-4.4
Makefile: set ARCH, CROSS_COMPILE for ARM

Change-Id: I50eefc4912267213cb7ca775a27ee46bb55c9d7b
defconfig: add boosted_d2_defconfig

Signed-off-by: Hieu Phan <aznrice2k4@gmail.com>
d2: Add CC_OPTIMIZE_FOR_PERF and ""_FOR_SPEED and more opts

Change-Id: I2af7808c70df7ab297b94be99b5be241f2375aca
Signed-off-by: bmc08gt <bmc08gt.teamb00sted@gmail.com>
Signed-off-by: Hieu Phan <aznrice2k4@gmail.com>
sound/usb/mixer.c: fix: warning: 'val/err/oval/rc/i/etc...' may be used uninitialized in this function

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
drivers/usb/gadget/f_qdss.c: fix: warning: argument to 'sizeof' in 'strncmp' call is the same expression as the second source

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
drivers/usb/storage/transport.c: fix: warning: 'partial' may be used uninitialized in this function

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
kernel/sysctl.c: fix warning: 'kbuf' may be used uninitialized in this function [-Wmaybe-uninitialized]

Signed-off-by: Hieu Phan <aznrice2k4@gmail.com>
kernel/workqueue.c: avoid array subscript above array boundaries

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
Signed-off-by: Hieu Phan <aznrice2k4@gmail.com>
fs/kernel: -O3 fixes

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
Signed-off-by: Hieu Phan <aznrice2k4@gmail.com>
fs/namespace: fix: 'warning: 'kernel_dev' may be used uninitialized in this function'

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
Signed-off-by: Hieu Phan <aznrice2k4@gmail.com>
fs/fs-writeback: This trace event causes a ICE in the mentioned compiler

$ arm-eabi-gcc -v
Using built-in specs.
COLLECT_GCC=arm-eabi-gcc
COLLECT_LTO_WRAPPER=/home/showp1984/WORK/toolchain/android-toolchain-eabi/bin/../libexec/gcc/arm-eabi/4.7.2/lto-wrapper
Target: arm-eabi
Configured with: /mnt/jenkins/workspace/linaro-android_toolchain-4.7-2012.09/build/objdir/temp-src/gcc-linaro-4.7-2012.09/configure --prefix=/tmp/android-toolchain-eabi --host=x86_64-linux-gnu --build=x86_64-linux-gnu --with-gnu-as --with-gnu-ld --enable-languages=c,c++ --with-gmp=/mnt/jenkins/workspace/linaro-android_toolchain-4.7-2012.09/build/objdir/temp-install --with-mpfr=/mnt/jenkins/workspace/linaro-android_toolchain-4.7-2012.09/build/objdir/temp-install --with-mpc=/mnt/jenkins/workspace/linaro-android_toolchain-4.7-2012.09/build/objdir/temp-install --with-cloog=/mnt/jenkins/workspace/linaro-android_toolchain-4.7-2012.09/build/objdir/temp-install --with-ppl=/mnt/jenkins/workspace/linaro-android_toolchain-4.7-2012.09/build/objdir/temp-install --disable-ppl-version-check --disable-cloog-version-check --enable-cloog-backend=isl --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --disable-libssp --disable-nls --disable-libmudflap --disable-shared --disable-sjlj-exceptions --disable-libquadmath --disable-libitm --disable-libatomic --with-float=soft --with-fpu=vfp --with-arch=armv5te --enable-target-optspace --prefix=/tmp/android-toolchain-eabi --disable-docs --disable-nls --with-gcc-version=linaro-4.7-2012.09 --with-binutils-version=2.23.51.0.3 --with-gmp-version=5.0.5 --with-mpfr-version=3.1.1 --with-mpc-version=1.0 --target=arm-eabi --enable-threads --enable-tls --disable-libgomp --disable-libstdc__-v3 --disable-libitm --disable-libatomic
Thread model: single
gcc version 4.7.2 20120910 (prerelease) (Linaro GCC 4.7-2012.09)

ICE:
  CC      fs/fs-writeback.o
fs/fs-writeback.c: In function 'bdi_writeback_thread':
fs/fs-writeback.c:685:1: internal compiler error: in push_minipool_fix, at config/arm/arm.c:13180
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[1]: *** [fs/fs-writeback.o] Error 1
make: *** [fs] Error 2

Since we don't need traces, just comment it out for now.

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
Signed-off-by: Hieu Phan <aznrice2k4@gmail.com>
fs/namespace: fix: 'warning: 'kernel_type/dir' may be used uninitialized in this function'

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
Signed-off-by: Hieu Phan <aznrice2k4@gmail.com>
fs/fuse/control: fix 'warning: 'val' may be used uninitialized in this function'

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
Signed-off-by: Hieu Phan <aznrice2k4@gmail.com>
fs/jbd/journal: fix: 'warning: 'blocknr' may be used uninitialized in this function'

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
Signed-off-by: Hieu Phan <aznrice2k4@gmail.com>
fs/jbd2/journal: fix: 'warning: 'blocknr' may be used uninitialized in this function'

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
Signed-off-by: Hieu Phan <aznrice2k4@gmail.com>
kernel/cgroup: fix: 'warning: 'it.task' may be used uninitialized in this function'

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
Signed-off-by: Hieu Phan <aznrice2k4@gmail.com>
drivers/media/common/tuners/xc5000: fix 'warning: 'quality' may be used uninitialized in this function'

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
drivers/media/common/tuners/xc5000: fix 'warning: 'frame_lines' may be used uninitialized in this function'

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