Re: [PATCH] const initdata.

From: Anders Peter Fugmann (afu@fugmann.dhs.org)
Date: Fri Aug 24 2001 - 10:00:20 EST


How "bad" is it to have __initdata declared static?

A quick scan through the kernel tree shows
that 27 .h and 355 .c files needa patching.
(a total of 845 places)

Numbers are from 2.4.9 kernel.

It should be very easy to correct through a script.

Regards
Anders Fugmann

Dave Jones wrote:
> As defined in in Rusty's kernel-hacking doc, __initdata must not be
> marked as const. Patch below does this for the PCI subsystem.
>
> *nb*, This kind of patch needs to be done in quite a few other
> places too.
>
> regards,
>
> Dave.
>
>

-
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/



This archive was generated by hypermail 2b29 : Fri Aug 31 2001 - 21:00:10 EST