clocksource / ACPI: Add probing infrastructure for ACPI-based clocksources
authorMarc Zyngier <Marc.Zyngier@arm.com>
Mon, 28 Sep 2015 14:49:15 +0000 (15:49 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 1 Oct 2015 00:18:38 +0000 (02:18 +0200)
commitc625f76a9910b9d51df5d6ca40a8da0684326996
tree21750fd3b7b039d83a53d7e1f7254d6ae8810467
parentf26527b1428f379fbd7edf779854c3b41bc0b3e5
clocksource / ACPI: Add probing infrastructure for ACPI-based clocksources

DT enjoys a rather nice probing infrastructure for clocksources,
while ACPI is so far stuck into a very distant past.

This patch introduces a declarative API, allowing clocksources
to be self-contained and be called when parsing the GTDT table.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Hanjun Guo <hanjun.guo@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/clocksource/clksrc-of.c
include/asm-generic/vmlinux.lds.h
include/linux/clocksource.h