From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757873AbXFPK3w (ORCPT ); Sat, 16 Jun 2007 06:29:52 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755288AbXFPKY1 (ORCPT ); Sat, 16 Jun 2007 06:24:27 -0400 Received: from www.osadl.org ([213.239.205.134]:37228 "EHLO mail.tglx.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754709AbXFPKYV (ORCPT ); Sat, 16 Jun 2007 06:24:21 -0400 Message-Id: <20070616101637.226868751@inhelltoy.tec.linutronix.de> References: <20070616101126.296384219@inhelltoy.tec.linutronix.de> User-Agent: quilt/0.46-1 Date: Sat, 16 Jun 2007 10:36:18 -0000 From: Thomas Gleixner To: LKML Cc: Andrew Morton , Ingo Molnar , Andi Kleen , Chris Wright , Arjan van de Ven , Venkatesh Pallipadi Subject: [patch-mm 18/25] i386: move setup_pit_timer to the correct header file Content-Disposition: inline; filename=i386-move-pit-setup-to-i8253-h.patch Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org setup_pit_timer is declared in asm-i386/timer.h. Move it to the pit header file, so it can be used by x86_64 as well. Signed-off-by: Thomas Gleixner Cc: Andi Kleen --- include/asm-i386/i8253.h | 2 ++ include/asm-i386/timer.h | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) Index: linux-2.6.22-rc4-mm/include/asm-i386/i8253.h =================================================================== --- linux-2.6.22-rc4-mm.orig/include/asm-i386/i8253.h 2007-06-16 12:10:20.000000000 +0200 +++ linux-2.6.22-rc4-mm/include/asm-i386/i8253.h 2007-06-16 12:10:24.000000000 +0200 @@ -18,4 +18,6 @@ static inline void pit_interrupt_hook(vo global_clock_event->event_handler(global_clock_event); } +extern void setup_pit_timer(void); + #endif /* __ASM_I8253_H__ */ Index: linux-2.6.22-rc4-mm/include/asm-i386/timer.h =================================================================== --- linux-2.6.22-rc4-mm.orig/include/asm-i386/timer.h 2007-06-16 12:10:24.000000000 +0200 +++ linux-2.6.22-rc4-mm/include/asm-i386/timer.h 2007-06-16 12:10:24.000000000 +0200 @@ -6,7 +6,6 @@ #define TICK_SIZE (tick_nsec / 1000) -void setup_pit_timer(void); unsigned long long native_sched_clock(void); unsigned long native_calculate_cpu_khz(void); --