X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-arm%2Fsetup.h;h=ea3ed24652333e8dbcc3020074a626050895ed84;hb=43bc926fffd92024b46cafaf7350d669ba9ca884;hp=ac311c56e202ba1d90de84a9c78d4688c680e86b;hpb=9bf4aaab3e101692164d49b7ca357651eb691cb6;p=linux-2.6.git diff --git a/include/asm-arm/setup.h b/include/asm-arm/setup.h index ac311c56e..ea3ed2465 100644 --- a/include/asm-arm/setup.h +++ b/include/asm-arm/setup.h @@ -171,7 +171,7 @@ struct tagtable { int (*parse)(const struct tag *); }; -#define __tag __attribute_used__ __attribute__((__section__(".taglist"))) +#define __tag __attribute_used__ __attribute__((__section__(".taglist.init"))) #define __tagtable(tag, fn) \ static struct tagtable __tagtable_##fn __tag = { tag, fn } @@ -203,8 +203,6 @@ struct meminfo { } bank[NR_BANKS]; }; -extern struct meminfo meminfo; - /* * Early command line parameters. */ @@ -215,6 +213,6 @@ struct early_params { #define __early_param(name,fn) \ static struct early_params __early_##fn __attribute_used__ \ -__attribute__((__section__("__early_param"))) = { name, fn } +__attribute__((__section__(".early_param.init"))) = { name, fn } #endif