diff options
author | Paul Mundt <lethal@linux-sh.org> | 2011-11-18 16:13:09 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-11-18 16:13:09 +0900 |
commit | 4be887342c48f3b1e208bac6375c19c57791a3b9 (patch) | |
tree | cfbdc1a7c7abb69bade6c8a2113e5a01fdc805b3 /arch/sh/kernel/cpu/shmobile | |
parent | 62d3ba8bba6fb1d1362dcaa1da2679f4ab740226 (diff) | |
download | linux-4be887342c48f3b1e208bac6375c19c57791a3b9.tar.bz2 |
sh: cpuidle: Migrate off of hwblk API.
Now that the hwblk API is unused and going away, migrate cpuidle off of
it. This is a pretty straightforward migration given that we weren't
really making use of the allowed mode overloading in the first place, so
simply default to regular sleep mode.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/cpu/shmobile')
-rw-r--r-- | arch/sh/kernel/cpu/shmobile/cpuidle.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/sh/kernel/cpu/shmobile/cpuidle.c b/arch/sh/kernel/cpu/shmobile/cpuidle.c index 1cc257c9b1e3..6d62eb40e750 100644 --- a/arch/sh/kernel/cpu/shmobile/cpuidle.c +++ b/arch/sh/kernel/cpu/shmobile/cpuidle.c @@ -17,7 +17,6 @@ #include <linux/export.h> #include <asm/suspend.h> #include <asm/uaccess.h> -#include <asm/hwblk.h> static unsigned long cpuidle_mode[] = { SUSP_SH_SLEEP, /* regular sleep mode */ @@ -29,7 +28,7 @@ static int cpuidle_sleep_enter(struct cpuidle_device *dev, struct cpuidle_driver *drv, int index) { - unsigned long allowed_mode = arch_hwblk_sleep_mode(); + unsigned long allowed_mode = SUSP_SH_SLEEP; ktime_t before, after; int requested_state = index; int allowed_state; |