Messages in this thread Patch in this message | | | Date | Fri, 10 Oct 2003 01:42:24 +0100 | From | Nuno Monteiro <> | Subject | [PATCH] Re: linking problem with 2.6.0-test6-bk10 |
| |
On 2003.10.08 22:18, Nuno Monteiro wrote: > > On Wed, Oct 08, 2003 at 07:32:42PM +0100, Nuno Monteiro wrote: > > > > Try this. > > > > Dave > > > Hi Dave, > > Thanks for the input, but still no joy.
Hi,
Got 5 minutes to look at this today, here is the proper fix. This allows to compile for Winchip when CONFIG_MTRR is off. The alternative would be to pull in asm/mtrr.h and asm/errno.h, but it seems a bit overkill since we only need mtrr_centaur_report_mcr.
Booted and working fine here on my small gateway box for the past hour. Please apply.
Regards,
Nuno
--- linux-2.6.0-test7/arch/i386/kernel/cpu/centaur.c 2003-10-10 00:30:58.000000000 +0100 +++ linux-2.6.0-test7-fixed/arch/i386/kernel/cpu/centaur.c 2003-10-10 00:30:05.000000000 +0100 @@ -8,6 +8,10 @@ #ifdef CONFIG_X86_OOSTORE +#ifndef CONFIG_MTRR +static __inline__ void mtrr_centaur_report_mcr(int mcr, u32 lo, u32 hi) {;} +#endif + static u32 __init power2(u32 x) { u32 s=1;
- 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/
| |