diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/avr32/kernel/process.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/avr32/kernel/process.c b/arch/avr32/kernel/process.c index 317dc50945f2..0b4325946a41 100644 --- a/arch/avr32/kernel/process.c +++ b/arch/avr32/kernel/process.c | |||
@@ -38,6 +38,13 @@ void cpu_idle(void) | |||
38 | 38 | ||
39 | void machine_halt(void) | 39 | void machine_halt(void) |
40 | { | 40 | { |
41 | /* | ||
42 | * Enter Stop mode. The 32 kHz oscillator will keep running so | ||
43 | * the RTC will keep the time properly and the system will | ||
44 | * boot quickly. | ||
45 | */ | ||
46 | asm volatile("sleep 3\n\t" | ||
47 | "sub pc, -2"); | ||
41 | } | 48 | } |
42 | 49 | ||
43 | void machine_power_off(void) | 50 | void machine_power_off(void) |