Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Math fpu and i386 kernels



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.

I checked this and it worked fine


Home | Main Index | Thread Index | Old Index