Skip to content

Commit

Permalink
[ARM] 2924/3: taglist - postfix section with .init for make buildcheck
Browse files Browse the repository at this point in the history
Patch from Ben Dooks

The `make buildcheck` is erroneously reporting that the taglist
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>
  • Loading branch information
Ben Dooks authored and Russell King committed Sep 20, 2005
1 parent 676d55a commit 9506057
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arch/arm/kernel/vmlinux.lds.S
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ SECTIONS
*(.arch.info)
__arch_info_end = .;
__tagtable_begin = .;
*(.taglist)
*(.taglist.init)
__tagtable_end = .;
. = ALIGN(16);
__setup_start = .;
Expand Down
2 changes: 1 addition & 1 deletion include/asm-arm/setup.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 }

Expand Down

0 comments on commit 9506057

Please sign in to comment.