Makefile: adding config variable for Os/O2/O3 compilation

Conflicts:

	init/Kconfig
Makefile: Added Snapdragon optimizations

Conflicts:

	Makefile
Makefile: Optimizing build-options for linaro
Reverting to 3.0 CIFS and patching up for 3.4.

Fixing CIFS working on windows 7 shares.
Use CIFS Manager for best results. :-)
H2W: s2w from dlx (showp-1984) reworked with HTC source and Home2Wake

- adds H2W to synaptics_3k based on S2W
- adds GPIO_keys support (unneeded for now)
- wake works on HOME press
- added configurable HTC Logo for Menu and Sleep options
- sysfs configuration points
linaro -o3 fixes

Conflicts:
	Makefile
	drivers/media/common/tuners/xc4000.c
	init/Kconfig
readahead 2048
Add FIOPS I/O Scheduler

Conflicts:
	block/Makefile
	block/sio-iosched.c
KozmiKKernel: Updating defconfig
SCHEDULER: Autogroup patch group by current user android UID instead of task ID
vfp: compile with neon

Conflicts:

	arch/arm/vfp/Makefile
lib/memcopy: use glibc version

the kernel's memcpy and memmove is very inefficient. But the glibc version is
quite fast, in some cases it is 10 times faster than the kernel version. So I
introduce some memory copy macros and functions of the glibc to improve the
kernel version's performance.

The strategy of the memory functions is:
1. Copy bytes until the destination pointer is aligned.
2. Copy words in unrolled loops.  If the source and destination are not
   aligned in the same way, use word memory operations, but shift and merge
   two read words before writing.
3. Copy the few remaining bytes.

Signed-off-by: Miao Xie <miaox*******>

Conflicts:

	lib/Makefile
lib/string: use glibc version

the performance of memcpy and memmove of the general version is very
inefficient, this patch improved them.

Signed-off-by: Miao Xie <miaox*******>

Conflicts:

	lib/string.c
Disabled perflock / fixed interactive

Conflicts:
	arch/arm/mach-msm/board-m7.c
	drivers/cpufreq/cpufreq_ondemand.c
	drivers/usb/gadget/f_mtp.c
	include/linux/cpufreq.h
Added Qualcomm ROW I/O Scheduler

Conflicts:
	arch/arm/configs/m7_defconfig
Finishing import of Qualcomm ROW I/O Scheduler.

Conflicts:
	Makefile
arm/crypto: Add optimized AES and SHA1 routines

Add assembler versions of AES and SHA1 for ARM platforms.  This has provided
up to a 50% improvement in IPsec/TCP throughout for tunnels using AES128/SHA1.

Platform   CPU SPeed    Endian   Before (bps)   After (bps)   Improvement

IXP425      533 MHz      big     11217042        15566294        ~38%
KS8695      166 MHz     little    3828549         5795373        ~51%

Signed-off-by: David McCullough <ucdevel@gmail.com>
Signed-off-by: faux123 <reioux@gmail.com>
msm_hsic: decrease timeout duration in detecting stuck PHY during suspend

from 500ms to 120ms

Signed-off-by: faux123 <reioux@gmail.com>
LOAD_FREQ (4*HZ+61) avoids loadavg Moire

By Klaus Ripke

https://lkml.org/lkml/2011/11/12/39

Conflicts:
	include/linux/sched.h
Optimized ARM RWSEM algorithm

RWSEM implementation for ARM using atomic functions.
Heavily based on arch/sh/include/asm/rwsem.h

Signed-off-by: Ashwin Chaugule <ashwinc@codeaurora.org>

Conflicts:
	drivers/media/video/msm/msm.c
	drivers/net/wireless/bcmdhd_4335/dhd_linux.c