Re: 2.5.40-ac3 compile error

James Bottomley (James.Bottomley@HansenPartnership.com)
Sat, 05 Oct 2002 11:55:35 -0400


This is a multipart MIME message.

--==_Exmh_15384386080
Content-Type: text/plain; charset=us-ascii

> make[2]: *** [timer_pit.o] Error 1 make[2]: Leaving directory `/usr/
> src/linux-2.5/linux-2.5.40/arch/i386/kernel'

This is caused by timer_pit.c not having quite the right #includes for the
i386 subarch code.

The attached patch should fix it. (smp.h gets the smp_local_timer_interrupt,
mpspec.h gets using_apic_timer and arch_hooks is the primer for the hooks in
do_timer.h).

James

--==_Exmh_15384386080
Content-Type: text/plain ; name="tmp.diff"; charset=us-ascii
Content-Description: tmp.diff
Content-Disposition: attachment; filename="tmp.diff"

--- arch/i386/kernel/timer_pit.c~ Sat Oct 5 11:22:01 2002
+++ arch/i386/kernel/timer_pit.c Sat Oct 5 11:48:05 2002
@@ -7,7 +7,10 @@
#include <linux/module.h>
#include <linux/device.h>
#include <asm/timer.h>
+#include <asm/smp.h>
+#include <asm/mpspec.h>
#include <asm/io.h>
+#include <asm/arch_hooks.h>

/* fwd declarations */
int init_pit(void);

--==_Exmh_15384386080--

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