Skip to contentSkip to conversation

2.5.46: fix do_timer.h

miniPATCH Jan Marek 1 participant 1 message Nov 5, 2002

lore
Share & tools
lore

Jan Marek

author
#0 lore raw

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

Signature · 4 lines
Ing. Jan Marek
University of South Bohemia
Academic Computer Centre
Phone: +420-38-7772080
arch/i386/mach-generic/do_timer.h +2 -0
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
@@ -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