SDIO: optimized SDIO IRQ handling for single function

  From: Stefan Nilsson XK <stefan.xk.nilsson at stericsson.com>
  *
  If there is only 1 function registered, and IRQ:s are supported and
  currently enabled, call the callback handler directly
  without checking the CCCR registers.

  Signed-off-by: Stefan Nilsson XK <stefan.xk.nilsson at stericsson.com>
  Signed-off-by: Per Forlin <per.forlin at linaro.org>
Bluetooth: Fix possible WakeLock
scheduler: compute time-average nr_running per run-queue

Compute the time-average number of running tasks per run-queue for a
trailing window of a fixed time period. The detla add/sub to the
average value is weighted by the amount of time per nr_running value
relative to the total measurement period.

Change-Id: I076e24ff4ed65bed3b8dd8d2b279a503318071ff
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Tested-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Reviewed-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
block: row: Update sysfs functions

 All ROW (time related) configurable parameters are stored in ms so there
 is no need to convert from/to ms when reading/updating them via sysfs.

 Change-Id: Ib6a1de54140b5d25696743da944c076dd6fc02ae
 Signed-off-by: Tatyana Brokhman <tlinder@codeaurora.org>
mach-msm/restart.c: Fix some compilerwarnings

  - Fix format '%x' expects type 'unsigned int' warning
      * restart.c: In function 'set_dload_mode':
      * restart.c:109:3: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'long unsigned int'

  - Fix ignoring return value of 'kstrtoul' warning
      * Workarround is to replace 'strict_strtoul()' with 'simple_strtoul()'
      * restart.c: In function 'arch_reset':
      * restart.c:252: warning: ignoring return value of 'kstrtoul', declared with attribute warn_unused_result
      * restart.c:257: warning: ignoring return value of 'kstrtoul', declared with attribute warn_unused_result