[PATCH] small addition to

2001-05-14 Thread pazke
Hi all, please take a quick look at attached patch (IMHO it can be usefull :) The code below is a common code pattern in Linux kernel: static int __init foo(void) { . . . printk("%s: blah blah blah\n", bar); . . . } this is bad because "blah blah blah\n" goes to

[PATCH] small addition to linux/init.h

2001-05-14 Thread pazke
Hi all, please take a quick look at attached patch (IMHO it can be usefull :) The code below is a common code pattern in Linux kernel: static int __init foo(void) { . . . printk(%s: blah blah blah\n, bar); . . . } this is bad because blah blah blah\n goes to .rodata