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
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
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
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
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 ?
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
6 matches
Mail list logo