[PATCH 0/4] Consolidate i8253 clocksource

From: Russell King - ARM Linux
Date: Mon May 09 2011 - 09:27:57 EST


Three architectures have an i8253 PIT clocksource, and each duplicates
the code for this. The initial patch extracts a common implementation
to drivers/clocksource, and subsequent patches convert each architecture
to use this copy.

arch/arm/include/asm/i8253.h | 15 ++++++
arch/arm/mach-footbridge/Kconfig | 2 +
arch/arm/mach-footbridge/isa-timer.c | 45 ++----------------
arch/mips/Kconfig | 1 +
arch/mips/include/asm/i8253.h | 5 ++
arch/mips/kernel/i8253.c | 78 +-----------------------------
arch/x86/Kconfig | 1 +
arch/x86/include/asm/i8253.h | 2 +
arch/x86/kernel/i8253.c | 79 +------------------------------
drivers/clocksource/Kconfig | 3 +
drivers/clocksource/Makefile | 1 +
drivers/clocksource/i8253.c | 88 ++++++++++++++++++++++++++++++++++
include/linux/clocksource.h | 2 +
13 files changed, 126 insertions(+), 196 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/