aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpi-internal.h
diff options
context:
space:
mode:
authorSantosh Shilimkar <[email protected]>2011-12-25 15:30:40 +0000
committerKevin Hilman <[email protected]>2012-07-25 23:05:35 +0000
commitdd3ad97c5621aa853843dd5e6783ca787466158c (patch)
treef19ec4e619bf5987cfdbc73246af01e4413866c7 /lib/mpi/mpi-internal.h
parentARM: OMAP: timer: allow gp timer clock-event to be used on both cpus (diff)
downloadkernel-dd3ad97c5621aa853843dd5e6783ca787466158c.tar.gz
kernel-dd3ad97c5621aa853843dd5e6783ca787466158c.zip
ARM: OMAP4: CPUidle: Use coupled cpuidle states to implement SMP cpuidle.
OMAP4 CPUDILE driver is converted mainly based on notes from the coupled cpuidle patch series. The changes include : - Register both CPUs and C-states to cpuidle driver. - Set struct cpuidle_device.coupled_cpus - Set struct cpuidle_device.safe_state to non coupled state. - Set CPUIDLE_FLAG_COUPLED in struct cpuidle_state.flags for each state that affects multiple cpus. - Separate ->enter hooks for coupled & simple idle. - CPU0 wait loop for CPU1 power transition. - CPU1 wakeup mechanism for the idle exit. - Enabling ARCH_NEEDS_CPU_IDLE_COUPLED for OMAP4. Thanks to Kevin Hilman and Colin Cross on the suggestions/fixes on the intermediate version of this patch. Signed-off-by: Santosh Shilimkar <[email protected]> Signed-off-by: Kevin Hilman <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions