UPDATE: improve compiler's ability to optimize page tables

Allow the compiler to better optimize the page table walking code
by avoiding over-complex pmd_addr_end() calculations.  These
calculations prevent the compiler spotting that we'll never iterate
over the PMD table, causing it to create double nested loops where
a single loop will do.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
watchdog: increase pet time to ten seconds

Petting the watchdog every three seconds has impacts on power
consumption. Increase this to ten seconds, and increase the bark and
bite times for the simulator and otherwise accordingly.

CRs-Fixed: 317705
Signed-off-by: Jeff Ohlstein <johlstei@codeaurora.org>
(cherry picked from commit 120aac4c1ea78411bce03826ffec05f52eaaf5a)

Change-Id: Id735b5934050fad536181893d19efc1c28297d31
Signed-off-by: Jeff Ohlstein <johlstei@codeaurora.org>
Signed-off-by: swetha <sbasin@codeaurora.org>
prevent multiple syscall restarts

    Al Viro reports that calling "sys_sigsuspend(-ERESTARTNOHAND, 0, 0)"
    with two signals coming and being handled in kernel space results
    in the syscall restart being done twice.

    Avoid this by clearing the 'why' flag when we call the signal handling
    code to prevent further syscall restarts after the first.

    Acked-by: Al Viro <viro@zeniv.linux.org.uk>
    Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Fix reference leak

The cgroup exit mess also uncovered a struct autogroup reference leak.
copy_process() was simply freeing vs putting the signal_struct,
stranding a reference.

Signed-off-by: Mike Galbraith <efault@gmx.de>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Oleg Nesterov <oleg@redhat.com>
LKML-Reference: <1293784350.6839.2.camel@marge.simson.net>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
cleancache
Menu in config to chose build optimization
Modified KERNEL TWEAKS
make default readahead size a kernel parameter From:
 Nikanth Karthikesan <knikanth@suse.de>

Add new kernel parameter "readahead", which would be used instead of the
value of VM_MAX_READAHEAD. If the parameter is not specified, the default
of 128kb would be used.

CC: Ankit Jain <radical@gmail.com>
CC: Dave Chinner <david@fromorbit.com>
CC: Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
Signed-off-by: Nikanth Karthikesan <knikanth@suse.de>
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Disable idle wakelocks for pcm driver

CRs-fixed: 307647
Signed-off-by: Swaminathan Sathappan <Swami@codeaurora.org>
(cherry picked from commit 3bc87ac1f8c759e297e74039f7f29f0c3c863122)

Change-Id: I8cc8daad4ebab40ac2c6bb95dc166a79f21247e4
Signed-off-by: swetha <sbasin@codeaurora.org>
Prevent too long response times for suspend

While trying to suspend the mmc host there could still be
ongoing requests that we need to wait for. At the same time
a device driver must respond to a suspend request rather quickly.

Instead of potentially wait "forever" by claiming the host we now
"try" to claim the host instead. If it fails, -EBUSY is returned.

Signed-off-by: Ulf Hansson <ulf.hansson@stericsson.com>
Reviewed-by: Sujit Reddy Thumma <sthumma@codeaurora.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>

CRs-Fixed: 325090

[sthumma@codeaurora.org: Squash commit 49df7807]
[sthumma@codeaurora.org: Skip the implementation for SDIO cards]
Signed-off-by: Sujit Reddy Thumma <sthumma@codeaurora.org>
(cherry picked from commit ec6202f)

Change-Id: Ib9cc2a24733e02d952adfad257b162e6ea299476
Signed-off-by: Swetha Basineni <sbasin@codeaurora.org>
Revert "make default readahead size a kernel parameter From:"

This reverts commit 88af14d0369d2ab0a23337efb1e687a9fd0ad98c.
Update defconfig