From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758062AbXFJJgz (ORCPT ); Sun, 10 Jun 2007 05:36:55 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754457AbXFJJbY (ORCPT ); Sun, 10 Jun 2007 05:31:24 -0400 Received: from www.osadl.org ([213.239.205.134]:43113 "EHLO mail.tglx.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754072AbXFJJbI (ORCPT ); Sun, 10 Jun 2007 05:31:08 -0400 Message-Id: <20070610092446.998327784@inhelltoy.tec.linutronix.de> References: <20070610092437.118387863@inhelltoy.tec.linutronix.de> User-Agent: quilt/0.46-1 Date: Sun, 10 Jun 2007 09:44:15 -0000 From: Thomas Gleixner To: LKML Cc: Andrew Morton , Ingo Molnar , Andi Kleen , Arjan van de Ven , Venkatesh Pallipadi , Chris Wright Subject: [patch-mm 17/23] 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-10 10:44:36.000000000 +0200 +++ linux-2.6.22-rc4-mm/include/asm-i386/i8253.h 2007-06-10 10:44:39.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-10 10:44:39.000000000 +0200 +++ linux-2.6.22-rc4-mm/include/asm-i386/timer.h 2007-06-10 10:44:39.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); --