[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <E1LeXCe-0006wA-5k@mailer.emlix.com>
Date: Tue, 03 Mar 2009 16:30:43 +0100
From: Johannes Weiner <jw@...ix.com>
To: Chris Zankel <chris@...kel.net>
Cc: linux-kernel@...r.kernel.org
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(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists