Makefile: remove linking to GCC wrapper

Since we don't want the warnings to be considered errors, reduce overhead and compilation time by removing the linking to GCC wrapper, thus removing the unnecessary checks.

Signed-off-by: Zhao Wei Liew <zhaoweiliew@gmail.com>
msm: remote_spinlock: compile SWP based software locks only if <ARMv6

SWP instructions are deprecated on modern ARM architectures, namely >ARMv5

Change-Id: I94116abbe0205b7738860c426f1f990594e3da8c
Signed-off-by: Zhao Wei Liew <zhaoweiliew@gmail.com>
Add LK 3.4 gitignore

Signed-off-by: Zhao Wei Liew <zhaoweiliew@gmail.com>
vfs: mark variables as uninitialized to make gcc happy

Both kernel_type and kernel_div will pick up values throughout the function, either as NULL or some other value. To make GCC happy, mark it as uninitialized.

Change-Id: Ibfa249db67d3969fa319b4bcf131026d27024e38
Signed-off-by: Zhao Wei Liew <zhaoweiliew@gmail.com>
lib/lzo: Rename lzo1x_decompress.c to lzo1x_decompress_safe.c

Rename the source file to match the function name and thereby
also make room for a possible future even slightly faster
"non-safe" decompressor version.

Signed-off-by: Markus F.X.J. Oberhumer <markus@oberhumer.com>
lib/lzo: Update LZO compression to current upstream version

This commit updates the kernel LZO code to the current upsteam version
which features a significant speed improvement - benchmarking the Calgary
and Silesia test corpora typically shows a doubled performance in
both compression and decompression on modern i386/x86_64/powerpc machines.

Signed-off-by: Markus F.X.J. Oberhumer <markus@oberhumer.com>
lzo: properly check for overruns

The lzo decompressor can, if given some really crazy data, possibly
overrun some variable types.  Modify the checking logic to properly
detect overruns before they happen.

Reported-by: "Don A. Bailey" <donb@securitymouse.com>
Tested-by: "Don A. Bailey" <donb@securitymouse.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
lib/lzo: huge LZO decompression speedup on ARM by using unaligned access

Signed-off-by: Markus F.X.J. Oberhumer <markus@oberhumer.com>
Merge pull request #2 from zwliew/master

LZO improvements

Thanks @zwliew