]> err.no Git - linux-2.6/commitdiff
[ARM] 2927/1: .arch.info - postfix section with .init for `make buildcheck`
authorBen Dooks <ben-linux@fluff.org>
Tue, 20 Sep 2005 15:45:20 +0000 (16:45 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 20 Sep 2005 15:45:20 +0000 (16:45 +0100)
Patch from Ben Dooks

The `make buildcheck` is erroneously reporting that the .arch.info
list is referencing items in the .init section as it is not itself
postfixed with .init

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/vmlinux.lds.S
include/asm-arm/mach/arch.h

index 420b8d09a38368efe2999316f41176e1be0eb86d..08e58ecd44be78d342df2d8a3d4d896462012996 100644 (file)
@@ -26,7 +26,7 @@ SECTIONS
                        *(.proc.info.init)
                __proc_info_end = .;
                __arch_info_begin = .;
-                       *(.arch.info)
+                       *(.arch.info.init)
                __arch_info_end = .;
                __tagtable_begin = .;
                        *(.taglist.init)
index 56c6bf4ab0c3932de2f650cb5c29cafeae0efc9c..4fa95084a8c0459f58b87a9e36f75019069fb0c6 100644 (file)
@@ -50,7 +50,7 @@ struct machine_desc {
  */
 #define MACHINE_START(_type,_name)             \
 const struct machine_desc __mach_desc_##_type  \
- __attribute__((__section__(".arch.info"))) = {        \
+ __attribute__((__section__(".arch.info.init"))) = {   \
        .nr             = MACH_TYPE_##_type,    \
        .name           = _name,