Messages in this thread | | | Date | Wed, 17 Dec 2008 09:58:47 +0530 | From | "Jaswinder Singh" <> | Subject | Re: [PATCH] x86: traps.c declare functions before they get used |
| |
Hello Ingo,
On Wed, Dec 17, 2008 at 1:49 AM, Ingo Molnar <mingo@elte.hu> wrote: >> +#ifndef CONFIG_MATH_EMULATION >> asmlinkage void math_emulate(long); >> #endif > > uhm, shouldnt that #ifndef CONFIG_MATH_EMULATION be #ifdef > CONFIG_MATH_EMULATION? >
Sorry, but it seems correct to me in traps case will be opposite.
If someone tries to access math_emulate() and MATH_EMULATION is not defined then he will be trapped ;-)
Thank you,
Jaswinder Singh.
| |