[miniPATCH] 2.5.46: fix do_timer.h

Jan Marek (linux@hazard.jcu.cz)
Tue, 5 Nov 2002 10:57:46 +0100


--Q68bSM7Ycu6FN28Q
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hallo,

attached patch fix this compiler warning:

In file included from arch/i386/kernel/timers/timer_pit.c:16:
arch/i386/mach-generic/do_timer.h: In function `do_timer_interrupt_hook':
arch/i386/mach-generic/do_timer.h:26: warning: implicit declaration of
function `smp_local_timer_interrupt'

This problem was in 2.5.4[4-6] kernels...

Please apply...

Sincerely
Jan Marek

-- 
Ing. Jan Marek
University of South Bohemia
Academic Computer Centre
Phone: +420-38-7772080

--Q68bSM7Ycu6FN28Q Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="do_timer.patch"

diff -urN linux-2.5.44/arch/i386/mach-generic/do_timer.h linux-2.5.44-new/arch/i386/mach-generic/do_timer.h --- linux-2.5.44/arch/i386/mach-generic/do_timer.h 2002-10-19 06:02:30.000000000 +0200 +++ linux-2.5.44-new/arch/i386/mach-generic/do_timer.h 2002-10-24 20:09:31.000000000 +0200 @@ -1,5 +1,7 @@ /* defines for inline arch setup functions */ +#include <asm/apic.h> + /** * do_timer_interrupt_hook - hook into timer tick * @regs: standard registers from interrupt

--Q68bSM7Ycu6FN28Q-- - 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/