wireless: bcmdhd: set WIFI_CONTROL_FUNC for VARIATION_TEGRA

reference:
https://github.com/pershoot/galaxy-2636/commit/30b40d08b7aee46ebe89fe2e79e7cb41817e738f
staging: android/lowmemorykiller: Do not kill kernel threads
LMK should not try killing kernel threads.

Suggested-by: Oleg Nesterov <oleg@redhat.com>
Reviewed-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Acked-by: KOSAKI Motohiro <kosaki.motohiro@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Sync networking components with CM9/pershoot kernel for GT 10.1

broadcom wireless driver move to nl80211 from older WEXT mode.

Changes in drivers/net (PPP, wireless, bcmdhd), net/l2tp, net/mac80211,
net/netfilter, net/ipv6, net/wireless

reference:
https://github.com/pershoot/galaxy-2636
Updated defconfigs
board-p3-panel - don't mess with the governor on early suspend/resume.
board-p5-panel: remove unneeded reference
revert: board-p5-sensors: compass orientation fix never worked
correctly. revert back to stock.
tegra clock.c: Further qualify warning on sleepable child clock

Reference:
https://github.com/pershoot/galaxy-2636/blob/68738536d8522d012409c24d1276d06284e211ef/arch/arm/mach-tegra/clock.c
MMC enhancements

Reference pershoot 10.1 galaxy-2636 kernel

mmc: make number of mmcblk minors configurable
https://github.com/pershoot/galaxy-2636/commit/c86846781dbd81dad91e006176b5649f305de674

mmc: MMC_BLOCK_MINORS should depend on MMC_BLOCK
https://github.com/pershoot/galaxy-2636/commit/362626ecff881ba2e162a0d8f28f2631cdef7584

mmc:Add ddr mode support for eMMC v4.4
https://github.com/pershoot/galaxy-2636/commit/b7f4ea0922c28fcf2aa8583d25a64ddd4fc3dbd1

mmc: fix card detect after suspend
https://github.com/pershoot/galaxy-2636/commit/a02dbf3fdb65404bbfc4c3f00bd736819f473374
-add syscore from nvidia's 2.6.39

reference:
https://github.com/pershoot/galaxy-2636/commit/68738536d8522d012409c24d1276d06284e211ef
ARM: cache-v7: Disable preemption when reading CCSIDR (no tracing)

This patch (http://goo.gl/iYyln) breaks the kernel boot when lockdep is
enabled.

v7_setup (called before the MMU is enabled) calls v7_flush_dcache_all,
and the save_and_disable_irqs added by this patch ends up calling
into lockdep C code (trace_hardirqs_off()) when we are in no position
to execute it (no stack, no MMU).

The following fixes it.

Original Patch:
 Stephen Boyd <sboyd@codeaurora.org>

-Reference:
 https://lkml.org/lkml/2012/2/13/269
 dorimanx
arm: Allow CPU-supported unaligned accesses
This change reconfigures the CPU to allow CPU-supported unaligned
accesses, which are generally faster than software-only fixups,
resulting in fewer alignment exceptions.

Signed-off-by: Brent DeGraaf <bdegraaf@codeaurora.org>
arm: remove stale export of 'sha_transform'
The generic library code already exports the generic function, this was
left-over from the ARM-specific version that just got removed.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arm: remove "optimized" SHA1 routines
Since commit 1eb19a12bd22 ("lib/sha1: use the git implementation of
SHA-1"), the ARM SHA1 routines no longer work.  The reason? They
depended on the larger 320-byte workspace, and now the sha1 workspace is
just 16 words (64 bytes).  So the assembly version would overwrite the
stack randomly.

The optimized asm version is also probably slower than the new improved
C version, so there's no reason to keep it around.  At least that was
the case in git, where what appears to be the same assembly language
version was removed two years ago because the optimized C BLK_SHA1 code
was faster.

Reported-and-tested-by: Joachim Eastwood <manabian@gmail.com>
Cc: Andreas Schwab <schwab@linux-m68k.org>
Cc: Nicolas Pitre <nico@fluxnic.net>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arm: tegra (partial): fix numerous warnings
tegra: iovmm-gart.c

-remove needs_barrier for ICS
android: Sync binder with stock
samsung: dpram: remove call to multipdp_exit for ICS in dpram_shutdown
-causes panic when VZW tab is powered off (the device cycles),
 most likely due to misc_deregister being called twice
 (here and in dpram_remove).

-reference https://github.com/CyanogenMod/android_kernel_samsung_aries
Revert "rtc : tps6586x: move NULL checking to the front."
-this created a duplicate

This reverts commit 5e6a7a8.
lib: Introduce some memory copy macros and functions
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.

Conflicts:

	lib/Makefile