[PATCH] x86_64: Only use asm/sections.h to declare section symbols
Adding __initdata_* to asm-generic/sections.h Replaces a lot of open coded externs in arch/x86_64/* I had to change __bss_end to __bss_stop to match the other architectures. Signed-off-by:Andi Kleen <ak@suse.de> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
Showing
- arch/x86_64/kernel/e820.c 1 addition, 2 deletionsarch/x86_64/kernel/e820.c
- arch/x86_64/kernel/head64.c 2 additions, 4 deletionsarch/x86_64/kernel/head64.c
- arch/x86_64/kernel/setup.c 1 addition, 1 deletionarch/x86_64/kernel/setup.c
- arch/x86_64/kernel/vmlinux.lds.S 1 addition, 1 deletionarch/x86_64/kernel/vmlinux.lds.S
- arch/x86_64/mm/init.c 2 additions, 8 deletionsarch/x86_64/mm/init.c
- include/asm-generic/sections.h 1 addition, 0 deletionsinclude/asm-generic/sections.h
Please register or sign in to comment