forked from Minki/linux
09adcdf212
Migrate avr32 driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. We want to call cpu_idle_poll_ctrl() in shutdown only if we were in oneshot or resume state earlier. Create another variable to save this information and check that in shutdown callback. Cc: Haavard Skinnemoen <hskinnemoen@gmail.com> Cc: Hans-Christian Egtvedt <egtvedt@samfundet.no> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Acked-by: Hans-Christian Egtvedt <egtvedt@samfundet.no> |
||
---|---|---|
.. | ||
.gitignore | ||
asm-offsets.c | ||
avr32_ksyms.c | ||
cpu.c | ||
entry-avr32b.S | ||
head.S | ||
irq.c | ||
kprobes.c | ||
Makefile | ||
module.c | ||
nmi_debug.c | ||
ocd.c | ||
process.c | ||
ptrace.c | ||
setup.c | ||
signal.c | ||
stacktrace.c | ||
switch_to.S | ||
syscall_table.S | ||
syscall-stubs.S | ||
time.c | ||
traps.c | ||
vmlinux.lds.S |