Re: [patch] 2.4.16 for pointers to __devexit functions

Jeff Garzik
2001-12-06T08:10:06Z

> This patch against 2.4.16 defines __devexit_p() for pointers to
> functions defined as __devexit, the wrapper inserts the function name
> or NULL, based on config options. It allows people to use the new
> binutils on the kernel, there are some real kernel bugs that binutils
> will find once this patch is in.
>
> I have patched all the obvious references to __devexit functions,
> leaving a few which appear to be real bugs. I notified the maintainers
> of the buggy code privately.

Why not __attribute__((weak)) ?

--
Jeff Garzik | Only so many songs can be sung
Building 1024 | with two lips, two lungs, and one tongue.
MandrakeSoft | - nomeansno