lkml.org 
[lkml]   [2009]   [Mar]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[patch 0/3] xtensa generic time
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(-)



\
 
 \ /
  Last update: 2009-03-03 17:13    [W:0.420 / U:0.356 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site