Re: [RFC PATCH 1/3] init.h: Add __init_str / __exit_str macros

2014-06-24 Thread Mathias Krause
On 24 June 2014 21:43, Joe Perches wrote: > On Mon, 2014-06-23 at 00:46 +0200, Mathias Krause wrote: >> Add macros to be able to mark string literals used in __init / __exit >> functions. > [] >> diff --git a/include/linux/init.h b/include/linux/init.h > [] >> +#define __init_str(str) __mark_

Re: [RFC PATCH 1/3] init.h: Add __init_str / __exit_str macros

2014-06-24 Thread Joe Perches
On Mon, 2014-06-23 at 00:46 +0200, Mathias Krause wrote: > Add macros to be able to mark string literals used in __init / __exit > functions. [] > diff --git a/include/linux/init.h b/include/linux/init.h [] > +#define __init_str(str) __mark_str(str, __UNIQUE_ID(_init_str_), > __initconst) > +

[RFC PATCH 1/3] init.h: Add __init_str / __exit_str macros

2014-06-22 Thread Mathias Krause
Add macros to be able to mark string literals used in __init / __exit functions. Signed-off-by: Mathias Krause --- include/linux/init.h | 18 ++ 1 file changed, 18 insertions(+) diff --git a/include/linux/init.h b/include/linux/init.h index 2df8e8dd10..0a425b296e 100644 --- a/