diff options
author | Jan Beulich <jbeulich@novell.com> | 2007-10-17 02:29:34 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-17 11:42:56 -0400 |
commit | d5aa0daf6d9f327a9c13bc3a203bfac2b8707e2f (patch) | |
tree | 68c9f4de68a940d10a8a1f1e5ac6de4bf5ee4c83 | |
parent | 004429956b4875e6bc2a31833f75363ce48cbea9 (diff) |
store __setup_str_* in a more compact way
__setup_str_* are referenced only during boot, hence there's no need to
waste image space for aligning these strings (with the aim of improving
performance).
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | include/linux/init.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/init.h b/include/linux/init.h index 9b7a2ba8237e..5141381a7527 100644 --- a/include/linux/init.h +++ b/include/linux/init.h | |||
@@ -161,7 +161,7 @@ struct obs_kernel_param { | |||
161 | * obs_kernel_param "array" too far apart in .init.setup. | 161 | * obs_kernel_param "array" too far apart in .init.setup. |
162 | */ | 162 | */ |
163 | #define __setup_param(str, unique_id, fn, early) \ | 163 | #define __setup_param(str, unique_id, fn, early) \ |
164 | static char __setup_str_##unique_id[] __initdata = str; \ | 164 | static char __setup_str_##unique_id[] __initdata __aligned(1) = str; \ |
165 | static struct obs_kernel_param __setup_##unique_id \ | 165 | static struct obs_kernel_param __setup_##unique_id \ |
166 | __attribute_used__ \ | 166 | __attribute_used__ \ |
167 | __attribute__((__section__(".init.setup"))) \ | 167 | __attribute__((__section__(".init.setup"))) \ |