lkml.org 
[lkml]   [2003]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: SET_MODULE_OWNER?
Date
In message <3E91C398.9070400@pobox.com> you write:
> Rusty Russell wrote:
> > I thought it was completely useless, hence deprecated.
> >
> > Anyone have any reason to defend it?
>
>
> It's used to allow source compatibility with all kernels, old or new.
>
> Thus it is in active use, and should not be removed.

Inside individual drivers, or a set of compat macros, it makes sense.
But as a general module.h primitive it doesn't.

Imagine a structure adds an owner field in 2.5. This macro doesn't
help you, you need a specific compat macro for that struct.

ie. AFAICT it only buys you 2.2 compatibility, and even then only if
you #define it at the top of your driver.

I still don't understand: please demonstrate a use in existing source.
Rusty.
--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:34    [W:1.334 / U:0.204 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site