From: Jan Beulich Date: Wed, 17 Oct 2007 06:29:34 +0000 (-0700) Subject: store __setup_str_* in a more compact way X-Git-Tag: v2.6.24-rc1~638 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=d5aa0daf6d9f327a9c13bc3a203bfac2b8707e2f;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/linux/init.h b/include/linux/init.h index 9b7a2ba8237..5141381a752 100644 --- a/include/linux/init.h +++ b/include/linux/init.h @@ -161,7 +161,7 @@ struct obs_kernel_param { * obs_kernel_param "array" too far apart in .init.setup. */ #define __setup_param(str, unique_id, fn, early) \ - static char __setup_str_##unique_id[] __initdata = str; \ + static char __setup_str_##unique_id[] __initdata __aligned(1) = str; \ static struct obs_kernel_param __setup_##unique_id \ __attribute_used__ \ __attribute__((__section__(".init.setup"))) \