Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753209Ab1EIN1x (ORCPT ); Mon, 9 May 2011 09:27:53 -0400 Received: from caramon.arm.linux.org.uk ([78.32.30.218]:39347 "EHLO caramon.arm.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752680Ab1EIN1w (ORCPT ); Mon, 9 May 2011 09:27:52 -0400 Date: Mon, 9 May 2011 14:27:38 +0100 From: Russell King - ARM Linux To: LKML , Thomas Gleixner , John Stultz Cc: "H. Peter Anvin" , Ingo Molnar , Ralf Baechle Subject: [PATCH 0/4] Consolidate i8253 clocksource Message-ID: <20110509132738.GB16919@n2100.arm.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.19 (2009-01-05) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1261 Lines: 25 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/