[lkml]   [2004]   [Oct]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC] __initdata strings

Oleg Nesterov wrote:
> Andi Kleen wrote:
>>There is a more generic way to do this with gcc extensions. Something like

Or with a pre-processor, using a sparse based tool such as this one I've
written a long time ago:

That uses what Andi described, but does this automatically if initstr is
made part of the building process.

>>#define __i(x) ({ static char __str[] __initdata = x; __str; })


- Arnaldo
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 14:06    [W:0.034 / U:0.024 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site