Messages in this thread |  | | | Subject | Re: [PATCH] add a printk_init variant storing format strings in __initdata | | From | David Woodhouse <> | | Date | Wed, 04 Jun 2008 09:56:32 +0100 | |
On Tue, 2008-06-03 at 10:27 +0100, Andy Whitcroft wrote:
> +#define printk_init(fmt, args...) \
> +do { \
> + static char __printk_init_fmt[] __initdata = fmt; \
> + __printk_init(__printk_init_fmt, ##args); \
> +} while (0)
Hm, do these strings still get merged? Perhaps we want them in
a .initdata.str section on their own?
Bonus points for letting the linker 'merge' such strings into the
real .rodata.str section if they exist there too.
--
dwmw2
|  |