Re: __initcall macros and C token pasting

Olivier Galibert
2004-09-26T17:21:12Z

On Sat, Sep 25, 2004 at 03:17:14PM -0400, Jon Smirl wrote:
> However this has a side effect. DRM drivers are distributed outside of
> the kernel. This leads to the possibility of wanting two drivers
> simultaneously loaded that need different versions of the core.
> Without the DRM macros we can only have one version of the core
> loaded. What are you going to do?

Stop distributing the drivers outside of the kernel?

> One response is to build a stable API for the core.

This has absolutely zero chance to happen, as the evolution of the
kernel has proven time and again. The internal APIs of the kernel
aren't stable, however much we'd like them to be, because the best way
to do something at time t isn't the best way to do it at time t+1.
The best that is done is to try to change the drivers at the time the
core changes, and that only happens if the source of the drivers is
there along with the rest of the kernel.

OG.