Re: [RFC,PATCH 1/4] Add deprecated_for_modules

2005-04-02 Thread Paul E. McKenney
On Sun, Apr 03, 2005 at 08:18:11AM +0200, Arjan van de Ven wrote: > On Sat, 2005-04-02 at 22:11 -0800, Paul E. McKenney wrote: > > Add a deprecated_for_modules macro that allows symbols to be > > > > +#ifdef MODULE > > +#define deprecated_for_modules __deprecated > > +#else > > +#define

Re: [RFC,PATCH 1/4] Add deprecated_for_modules

2005-04-02 Thread Arjan van de Ven
On Sat, 2005-04-02 at 22:11 -0800, Paul E. McKenney wrote: > Add a deprecated_for_modules macro that allows symbols to be > +#ifdef MODULE > +#define deprecated_for_modules __deprecated > +#else > +#define deprecated_for_modules > +#endif > + how about also starting it with __ like __deprecated

[RFC,PATCH 1/4] Add deprecated_for_modules

2005-04-02 Thread Paul E. McKenney
Add a deprecated_for_modules macro that allows symbols to be deprecated only when used by modules, as suggested by Andrew Morton some months back. Signed-off-by: <[EMAIL PROTECTED]> --- diff -urpN -X dontdiff linux-2.6.12-rc1/include/linux/module.h

[RFC,PATCH 1/4] Add deprecated_for_modules

2005-04-02 Thread Paul E. McKenney
Add a deprecated_for_modules macro that allows symbols to be deprecated only when used by modules, as suggested by Andrew Morton some months back. Signed-off-by: [EMAIL PROTECTED] --- diff -urpN -X dontdiff linux-2.6.12-rc1/include/linux/module.h linux-2.6.12-rc1-bettersk/include/linux/module.h

Re: [RFC,PATCH 1/4] Add deprecated_for_modules

2005-04-02 Thread Arjan van de Ven
On Sat, 2005-04-02 at 22:11 -0800, Paul E. McKenney wrote: Add a deprecated_for_modules macro that allows symbols to be +#ifdef MODULE +#define deprecated_for_modules __deprecated +#else +#define deprecated_for_modules +#endif + how about also starting it with __ like __deprecated is ?

Re: [RFC,PATCH 1/4] Add deprecated_for_modules

2005-04-02 Thread Paul E. McKenney
On Sun, Apr 03, 2005 at 08:18:11AM +0200, Arjan van de Ven wrote: On Sat, 2005-04-02 at 22:11 -0800, Paul E. McKenney wrote: Add a deprecated_for_modules macro that allows symbols to be +#ifdef MODULE +#define deprecated_for_modules __deprecated +#else +#define