diff options
author | Gary King <gking@nvidia.com> | 2010-03-24 14:46:53 -0700 |
---|---|---|
committer | Gary King <gking@nvidia.com> | 2010-04-09 10:34:37 -0700 |
commit | 2dfcc0387400d1360e0101a5cc2502c7b183a9c6 (patch) | |
tree | a6a8be40cad1944a05274371c141c087ef2f3477 /arch/arm/Kconfig | |
parent | afe525cdda705fa4f84b08b77bec382f98a0a10e (diff) |
ARM: enable CONFIG_CPU_IDLE support
add ARCH_HAS_CPU_IDLE_WAIT and ARCH_HAS_DEFAULT_IDLE configuration,
and expose default_idle and cpu_idle_wait
cpu_idle_wait implementation based on the implementation in the x86 tree
Change-Id: Ie24b6336db833cc638868abfdba822889646d0a8
Reviewed-on: http://git-master/r/950
Reviewed-by: Gary King <gking@nvidia.com>
Tested-by: Gary King <gking@nvidia.com>
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r-- | arch/arm/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 64fbcdc372a8..7c07165dd806 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -120,6 +120,14 @@ config RWSEM_GENERIC_SPINLOCK config RWSEM_XCHGADD_ALGORITHM bool +config ARCH_HAS_CPU_IDLE_WAIT + bool + default y + +config ARCH_HAS_DEFAULT_IDLE + bool + default y + config ARCH_HAS_ILOG2_U32 bool |