Squashed 35 commits of bricked kernel

Signed-off-by:  Paul Beeler <sparksco@gmail.com>

drivers: staging: prima: fix error: inlining failed in call to always_inline 'hdd_connGetConnectedBssType': function body not available

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

drivers: staging: prima: fix warning: 'pPacket' may be used uninitialized in this function

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

net: netfilter: xt_socket: fix various uninitialized warnings/errors

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

drivers: media: common: fix warning: 'fw_minor' may be used uninitialized in this function

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

drivers: howmon: warning: '*((void *)&adc_data+2)' may be used uninitialized in this function

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

fs: cifs: fix warning: 'midQ' may be used uninitialized in this function

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

drivers: staging: prima: fix various 'error: inlining failed'

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

kernel/sysctl: fix: 'warning: 'kbuf' may be used uninitialized in this function'

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

kernel/sysctl: fix: 'warning: 'kbuf' may be used uninitialized in this function' #2

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

fs/namespace: fix: 'warning: 'kernel_dev' may be used uninitialized in this function'

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

fs/namespace: fix: 'warning: 'kernel_type/dir' may be used uninitialized in this function'

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

kernel/cgroup: fix: 'warning: 'it.task' may be used uninitialized in this function'

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

fs/fuse/control: fix 'warning: 'val' may be used uninitialized in this function'

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

fs/jbd/journal: fix: 'warning: 'blocknr' may be used uninitialized in this function'

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

fs/jbd2/journal: fix: 'warning: 'blocknr' may be used uninitialized in this function'

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

drivers/char/msm_rotator: fix: 'warning: 'ps0_need' may be used uninitialized in this function'

Signed-off-by: Dennis Rassmann <showp1984@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>

drivers/media/common/tuners/xc5000: fix 'warning: 'lock_status' may be used uninitialized in this function'

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

drivers/media/common/tuners/xc5000: fix 'warning: 'adc_envelope' may be used uninitialized in this function'

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

drivers/media/common/tuners/xc4000: fix 'warning: '...' may be used uninitialized in this function'

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

drivers/net/ppp/ppp_generic: fix: 'warning: 'code' may be used uninitialized in this function'

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

drivers/power/pm8xxx-ccadc: fix: 'warning: 'ibat' may be used uninitialized in this function'

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

drivers/power/pm8921-bms: fix: 'warning: 'vsense' may be used uninitialized in this function'

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

drivers/staging/prima/CORE/HDD/src/wlan_hdd_ftm: fix: 'warning: array subscript is above array bounds'

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

drivers/staging/prima/CORE/SME/src/csr/csrApiRoam: fix: 'warning: 'sessionId' may be used uninitialized in this function'

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

drivers/staging/prima/CORE/SME/src/csr/csrApiRoam: fix: 'warning: array subscript is above array bounds'

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

drivers/staging/prima/CORE/SME/src/csr/csrApiRoam: fix: 'warning: 'sessionId' may be used uninitialized in this function' #2

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

drivers/staging/prima/CORE/SME/src/csr/csrApiScan: fix: 'warning: '...' may be used uninitialized in this function'

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

drivers/staging/prima/CORE/SME/src/csr/csrUtil: fix: 'warning: 'phyModeInBssDesc' may be used uninitialized in this function'

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

drivers/staging/prima/CORE/TL/src/wlan_qct_tl.c: fix: 'warning: 'usEtherType' may be used uninitialized in this function'

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

drivers/staging/prima/CORE/WDA/src/wlan_qct_wda: fix: 'warning: '...' may be used uninitialized in this function'

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

drivers/usb/host/ehci-sched: fix: 'warning: 'c_mask' may be used uninitialized in this function'

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

net/bluetooth/l2cap_core: fix: 'warning: '...' may be used uninitialized in this function'

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

net/unix/af_unix: fix: 'warning: '...' may be used uninitialized in this function'

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
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
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>