]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[AVR32] Put cpu in sleep 0 when idle.
authorHans-Christian Egtvedt <hcegtvedt@atmel.com>
Mon, 26 Feb 2007 12:50:43 +0000 (13:50 +0100)
committerHaavard Skinnemoen <hskinnemoen@atmel.com>
Fri, 27 Apr 2007 11:44:12 +0000 (13:44 +0200)
commit19b7ce8bad718a2850ea19aeb7383f1728596c24
tree1fef17c37eaf90231a497b92dd49565e56986b6c
parent7760989e5e2900e484e9115e6e690c6ce0b0221c
[AVR32] Put cpu in sleep 0 when idle.

This patch puts the CPU in sleep 0 when doing nothing, idle. This will
turn of the CPU clock and thus save power. The CPU is waken again when
an interrupt occurs.

Signed-off-by: Hans-Christian Egtvedt <hcegtvedt@atmel.com>
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
arch/avr32/kernel/entry-avr32b.S
arch/avr32/kernel/process.c
include/asm-avr32/thread_info.h