Subject: Re: Build failure - port i386 - kernel link error
To: None <dogcow@babymeat.com>
From: Takahiro Kambe <taca@back-street.net>
List: current-users
Date: 12/10/2007 11:57:37
In message <20071210025101.GA11262@babymeat.com>
on Sun, 9 Dec 2007 18:51:01 -0800,
Tom Spindler <dogcow@babymeat.com> wrote:
> Try this:
>
> diff -u -w -p -r1.41 acpi_wakeup.c
> --- sys/arch/i386/acpi/acpi_wakeup.c 9 Dec 2007 20:27:44 -0000 1.41
> +++ sys/arch/i386/acpi/acpi_wakeup.c 10 Dec 2007 02:50:32 -0000
> @@ -313,8 +313,10 @@ out:
> x86_enable_intr();
> splx(s);
>
> +#ifdef MTRR
> if (mtrr_funcs != NULL)
> mtrr_commit();
> +#endif
>
> return (ret);
> #undef WAKECODE_FIXUP
>
> I'll probably commit this shortly.
We also need to add the line?
#include "opt_mtrr.h"
--
Takahiro Kambe <taca@back-street.net>