[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <4C7FB3A80200007800013F22@vpn.id2.novell.com>
Date: Thu, 02 Sep 2010 13:24:40 +0100
From: "Jan Beulich" <JBeulich@...ell.com>
To: <rusty@...tcorp.com.au>
Cc: "Michal Marek" <mmarek@...e.cz>, <linux-kernel@...r.kernel.org>
Subject: [PATCH] no need to align .modinfo strings
Their use is not performance critical, and hence it seems better to
save some space.
Signed-off-by: Jan Beulich <jbeulich@...ell.com>
---
include/linux/moduleparam.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- linux-2.6.36-rc3/include/linux/moduleparam.h
+++ 2.6.36-rc3-modinfo-align/include/linux/moduleparam.h
@@ -21,8 +21,8 @@
#define __module_cat(a,b) ___module_cat(a,b)
#define __MODULE_INFO(tag, name, info) \
static const char __module_cat(name,__LINE__)[] \
- __used \
- __attribute__((section(".modinfo"),unused)) = __stringify(tag) "=" info
+ __used __attribute__((section(".modinfo"), unused, aligned(1))) \
+ = __stringify(tag) "=" info
#else /* !MODULE */
#define __MODULE_INFO(tag, name, info)
#endif
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists