]> git.karo-electronics.de Git - linux-beck.git/commit
x86/apic: Migrate apic timer to new set_state interface
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 16 Jul 2015 10:58:44 +0000 (16:28 +0530)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 29 Jul 2015 22:51:47 +0000 (00:51 +0200)
commitb23d8e527815954768861bb20d2b224009fff7cd
tree14b48e9112c7aa94ee8e26a9c28a4147716d81c1
parentc149e4cd08ba01f4d2d0104f469d5f5419294e06
x86/apic: Migrate apic timer to new set_state interface

Migrate apic 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 weren't doing anything while switching to resume mode and so that
callback isn't implemented.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Cc: linaro-kernel@lists.linaro.org
Cc: Jiang Liu <jiang.liu@linux.intel.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: David Rientjes <rientjes@google.com>
Cc: Bandan Das <bsd@redhat.com>
Link: http://lkml.kernel.org/r/1896ac5989d27f2ac37f4786af9bd537e1921b83.1437042675.git.viresh.kumar@linaro.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/apic/apic.c