>> I'll update my patch tomorrow to restore the definition of current. >> I do fear, however, that this will perpetuate the polution of the >> namespace should "current" ever get cleaned up. > >It can probably get cleaned up after 2.4 by making current() the actual >inline. For 2.2 it won't change. Consider it a feature. > >It was done originally because the 2.0 code using #define based current >generated better code than using inline functions. 2.2 upwards use a different >(far nicer) method to find current. > >Note also that you cannot rely on 'get_current()'. The only way to find >current is to use current. get_current() the inline is an x86ism. I figured as much. I will test for the #define, stash it in a #define unique within my namespace, and #define it back in hosts.c should my local define exist. -- Justin - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
- Re: Adaptec AIC7XXX v 6.0.6 BETA Released David S. Miller
- Re: Adaptec AIC7XXX v 6.0.6 BETA Released Justin T. Gibbs
- Re: Adaptec AIC7XXX v 6.0.6 BETA Released Alan Cox
- Re: Adaptec AIC7XXX v 6.0.6 BETA Released Justin T. Gibbs
- Re: Adaptec AIC7XXX v 6.0.6 BETA Release... Martin Dalecki
- Re: Adaptec AIC7XXX v 6.0.6 BETA Release... Justin T. Gibbs
- Re: Adaptec AIC7XXX v 6.0.6 BETA Release... Martin Dalecki
- Re: Adaptec AIC7XXX v 6.0.6 BETA Release... Alan Cox
- Re: Adaptec AIC7XXX v 6.0.6 BETA Released Gérard Roudier
- Re: Adaptec AIC7XXX v 6.0.6 BETA Released Alan Cox
- Re: Adaptec AIC7XXX v 6.0.6 BETA Released Justin T. Gibbs
- Re: Adaptec AIC7XXX v 6.0.6 BETA Released Steven N. Hirsch
- Re: Adaptec AIC7XXX v 6.0.6 BETA Released Justin T. Gibbs
- Re: Adaptec AIC7XXX v 6.0.6 BETA Release... Matthew Jacob
- Re: Adaptec AIC7XXX v 6.0.6 BETA Released Alan Cox
- Re: Adaptec AIC7XXX v 6.0.6 BETA Released Justin T. Gibbs
- Re: Adaptec AIC7XXX v 6.0.6 BETA Released Alan Cox
- Re: Adaptec AIC7XXX v 6.0.6 BETA Released Andi Kleen
- Re: Adaptec AIC7XXX v 6.0.6 BETA Released Steven N. Hirsch