net/netfilter: Don't use unsafe-math-optimizations here

Signed-off-by: LaboDJ <jacopolabardi@gmail.com>
(cherry picked from commit 75d389c133105197de04222b48914f76b75a1c82)
Signed-off-by: thirdzcee <thirdzcee@github.com>
Compressed: optimize for Cortex A15

Signed-off-by: LaboDJ <jacopolabardi@gmail.com>
(cherry picked from commit 0d2776d3f3fbc79b50803aa18d646bb3bf5df8c5)
Signed-off-by: thirdzcee <thirdzcee@github.com>
sched/cpuidle: reduce IPI store. Backport upstream 3.16 scheduler updates

Signed-off-by: Paul Reioux <reioux@gmail.com>
(cherry picked from commit 3d389add17702583b35a5475e26f6bc8d5289a8b)
Signed-off-by: thirdzcee <thirdzcee@github.com>
drivers: usb: Use Android device as USB keyboard/mouse

Base project: https://github.com/pelya/android-keyboard-gadget
Required app: https://play.google.com/store/apps/details?id=remote.hid.keyboard.client

Steps:
* Start ADB Debugging
* Start app
* Connect device to system via USB cable

All credits to @pelya for this sweet hack.

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
(cherry picked from commit 47e2324b5814b0f1928d0ed04c9f8d56b945aa3c)
Signed-off-by: thirdzcee <thirdzcee@github.com>

Conflicts:
	drivers/usb/gadget/android.c
fix Warning: 'slide2wake_force_wakeup' defined but not used

Signed-off-by: thirdzcee <thirdzcee@github.com>
fix for app-mounted directories (thanks @mkasick)

Signed-off-by: flar2 <asegaert@gmail.com>
(cherry picked from commit a9ac39daea120629327254eb4e4adec5575511d0)
Signed-off-by: thirdzcee <thirdzcee@github.com>

Conflicts:
	fs/Kconfig
tcp: network speed tweak

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
(cherry picked from commit b36335157915ba37b95d2d89b0f6ac30fe10f390)
Signed-off-by: thirdzcee <thirdzcee@github.com>
GPU: add optimization flags to GPU drivers

Signed-off-by: Lens-F <tnoah12@gmail.com>
Signed-off-by: flar2 <asegaert@gmail.com>
(cherry picked from commit 3a95513e9d1e14f7809a66546a254ff9b8775a8a)
Signed-off-by: thirdzcee <thirdzcee@github.com>

Conflicts:
	drivers/gpu/ion/Makefile
	drivers/gpu/ion/msm/Makefile
	drivers/gpu/msm/Makefile
staging: android: logger: Improve logging

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
(cherry picked from commit a769f727c7c23e1c7a170c306a5c8ca6fd0ab501)
Signed-off-by: thirdzcee <thirdzcee@github.com>
cpufreq: interactive: fix compiling warnings

The gcc warns like:

  cpufreq_interactive.c:745:6: warning: operation on 'ret' may be undefined [-Wsequence-point]

It was introduced by commit cf0fad49d17cb8273ce555dd5b7afab67d7923bf.

Since sprintf(...) just return 1 (one character) in this case, ret should not changed.
Just discarding the result of sprintf(...) leads to the result that
the committer of cf0fad49d17cb8273ce555dd5b7afab67d7923bf wants.

Change-Id: Ifed1cef6d6a31c3ed23dad03a567b3b9eddf3a57
Signed-off-by: Chih-Wei Huang <cwhuang@android-x86.org>
Git-commit: 0715d10b9e6c04327adb189e13ecd6a3c2df48ce
Git-Repo: https://android.googlesource.com/kernel/common.git
Signed-off-by: Junjie Wu <junjiew@codeaurora.org>
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
(cherry picked from commit b1a8ee23ba3dc503bee3edfb5b3257e7f88e8913)
Signed-off-by: thirdzcee <thirdzcee@github.com>
update neocore defconfig

Signed-off-by: thirdzcee <thirdzcee@github.com>
cleaning up unused stuff

Signed-off-by: thirdzcee <ironbuang@gmail.com>