Linaro GCC 4.8 -o3 fixes
Update
Revert "i2c: bma250: gyro wake - keep sensor enabled when F2S is present"

This reverts commit a58a86feb680c291220c4f2e5fea5d85da64e5f6.
Revert "i2c: bma250: Gyroscope Wake Option (Flick2Wake/Pick2Wake)"

This reverts commit 44f192f139dc3c6f2992e7d313d5f2904b5a5f82.
Revert "mm: Set VM_MAX_READAHEAD to 1024 as default"

This reverts commit c65615d87fb6f3037b89aca5946e2db2c2524ad4.
Revert "Revert "mm: Set VM_MAX_READAHEAD to 1024 as default""

This reverts commit 37a74b6d9b8090351009eb5e0d2794b1bab271a5.
Fix build from frame size warning
Makefile adjustments
binfmt_elf.c: use get_random_int() to fix entropy depleting

Signed-off-by: flar2 <asegaert@gmail.com>
block: account iowait time when waiting for completion of IO request

Using wait_for_completion() for waiting for a IO request to be executed
results in wrong iowait time accounting. For example, a system having
the only task doing write() and fdatasync() on a block device can be
reported being idle instead of iowaiting as it should because
blkdev_issue_flush() calls wait_for_completion() which in turn calls
schedule() that does not increment the iowait proc counter and thus does
not turn on iowait time accounting.

The patch makes block layer use wait_for_completion_io() instead of
wait_for_completion() where appropriate to account iowait time
correctly.

Signed-off-by: Vladimir Davydov <vdavydov@parallels.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: flar2 <asegaert@gmail.com>
block: Adding ROW scheduling algorithm

This patch adds the implementation of a new scheduling algorithm - ROW.
The policy of this algorithm is to prioritize READ requests over WRITE
as much as possible without starving the WRITE requests.

Change-Id: I4ed52ea21d43b0e7c0769b2599779a3d3869c519
Signed-off-by: Tatyana Brokhman <tlinder@codeaurora.org>
Signed-off-by: flar2 <asegaert@gmail.com>
Update Makefile [Test -O3]
Fix
Revert "block: account iowait time when waiting for completion of IO request"

This reverts commit 9159cc30c862db2f363e1e286f5d33aca417f353.
Update Makefile [Test -Ofast]
Revert "Fix"

This reverts commit acedb54e29fd95afb527e266d8b96f02be45ca1c.