Re: [PATCH] const initdata.

Anders Peter Fugmann (afu@fugmann.dhs.org)
Fri, 24 Aug 2001 17:00:20 +0200


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/