Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Math fpu and i386 kernels
On Wed, Jan 21, 2009 at 10:15:09PM +0100, Wojciech Galazka wrote:
> On 1/21/09, Manuel Bouyer <bouyer%antioche.eu.org@localhost> wrote:
> > On Tue, Jan 20, 2009 at 09:07:27PM +0100, Wojciech Galazka wrote:
> > > Hello
> >
> > probably not. Could you check if the attached patch makes a working
> > kernel for you ?
>
> Hi,
>
> Your patch does not work
> Sounds like the preprocessor #defines should look like the following
>
> #if defined(__i386__)
> #if NNPX > 0
> npxsave_cpu(true);
> #endif
> #else
> fpusave_cpu(true);
> #endif
>
> instead of just
>
> #if defined(__i386__) && NNPX > 0
> npxsave_cpu(true);
> #else
> fpusave_cpu(true);
> #endif
>
> The same applies for the other case.
Ha yes, of course !
>
> I checked this and it worked fine
thanks, I commited it.
--
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
NetBSD: 26 ans d'experience feront toujours la difference
--
Home |
Main Index |
Thread Index |
Old Index