[lkml]   [2001]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] const initdata.
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.

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
More majordomo info at
Please read the FAQ at

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