[patch 0/3] xtensa generic time

From: Johannes Weiner
Date: Tue Mar 03 2009 - 11:10:53 EST


Hi,

here are three patches that convert the xtensa arch code to make use
of the generic time implementation.

The first one just removes xtensa's sched_clock() in order to use the
default implementation as it is the same thing.

The second one removes the platform-specific rtc get/set callbacks,
the interface is not really feasible for the generic time
implementation. Currently, no platform implements this callback.
Platforms that want to should implement a rtc driver and
read_persistent_clock().

The third one converts xtensa to use generic time code by implementing
ccount as a clocksource. This lets us get rid of xtensa-specific
gtod/stod as now the generic time code is used for that.

Hannes

arch/xtensa/Kconfig | 3 +
arch/xtensa/include/asm/platform.h | 11 ---
arch/xtensa/kernel/platform.c | 2 -
arch/xtensa/kernel/time.c | 120 +++++-------------------------------
4 files changed, 19 insertions(+), 117 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/