Skip to content

Commit

Permalink
[ARM] 2927/1: .arch.info - postfix section with .init for `make build…
Browse files Browse the repository at this point in the history
…check`

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>
  • Loading branch information
Ben Dooks authored and Russell King committed Sep 20, 2005
1 parent 02b7dd1 commit 9d0fd1e
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 @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion include/asm-arm/mach/arch.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,

Expand Down

0 comments on commit 9d0fd1e

Please sign in to comment.