]> asedeno.scripts.mit.edu Git - linux.git/commit
openrisc: Initial support for the idle state
authorSebastian Macke <sebastian@macke.de>
Sun, 20 Jul 2014 15:13:31 +0000 (15:13 +0000)
committerStafford Horne <shorne@gmail.com>
Fri, 24 Feb 2017 19:14:35 +0000 (04:14 +0900)
commite29d11c6991d078bf2011f25dc8c19a2f38c4c8e
treec194d4a427c9c1938b7a9df6f3606973e1cf6c8e
parent79f8a4d022f2d11d4fc90f785f575ac331e2ef71
openrisc: Initial support for the idle state

This patch adds basic support for the idle state of the cpu.
The patch overrides the regular idle function, enables the interupts,
checks for the power management unit and enables the cpu doze mode
if available.

Signed-off-by: Sebastian Macke <sebastian@macke.de>
[shorne@gmail.com: Fixed checkpatch, blankline after declarations]
Signed-off-by: Stafford Horne <shorne@gmail.com>
arch/openrisc/kernel/process.c