Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[IA64] rename _bss to __bss_start

Rename _bss to __bss_start as on other architectures. That makes it
possible to use the <linux/sections.h> instead of own declarations. Also
add __bss_stop because that symbol exists on other architectures.

Signed-off-by: Bernhard Walle <bwalle@suse.de>
Cc: "Luck, Tony" <tony.luck@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Tony Luck <tony.luck@intel.com>

authored by

Bernhard Walle and committed by
Tony Luck
b898a424 afc2cf35

+5 -4
+2 -1
arch/ia64/hp/sim/boot/bootloader.lds
··· 22 22 .sdata : { *(.sdata) } 23 23 _edata = .; 24 24 25 - _bss = .; 25 + __bss_start = .; 26 26 .sbss : { *(.sbss) *(.scommon) } 27 27 .bss : { *(.bss) *(COMMON) } 28 28 . = ALIGN(64 / 8); 29 + __bss_stop = .; 29 30 _end = . ; 30 31 31 32 /* Stabs debugging sections. */
+1 -2
arch/ia64/kernel/setup.c
··· 95 95 .name = "Kernel bss", 96 96 .flags = IORESOURCE_BUSY | IORESOURCE_MEM 97 97 }; 98 - extern char _text[], _end[], _etext[], _edata[], _bss[]; 99 98 100 99 unsigned long ia64_max_cacheline_size; 101 100 ··· 205 206 code_resource.end = ia64_tpa(_etext) - 1; 206 207 data_resource.start = ia64_tpa(_etext); 207 208 data_resource.end = ia64_tpa(_edata) - 1; 208 - bss_resource.start = ia64_tpa(_bss); 209 + bss_resource.start = ia64_tpa(__bss_start); 209 210 bss_resource.end = ia64_tpa(_end) - 1; 210 211 efi_initialize_iomem_resources(&code_resource, &data_resource, 211 212 &bss_resource);
+2 -1
arch/ia64/kernel/vmlinux.lds.S
··· 240 240 .sdata : AT(ADDR(.sdata) - LOAD_OFFSET) 241 241 { *(.sdata) *(.sdata1) *(.srdata) } 242 242 _edata = .; 243 - _bss = .; 243 + __bss_start = .; 244 244 .sbss : AT(ADDR(.sbss) - LOAD_OFFSET) 245 245 { *(.sbss) *(.scommon) } 246 246 .bss : AT(ADDR(.bss) - LOAD_OFFSET) 247 247 { *(.bss) *(COMMON) } 248 + __bss_stop = .; 248 249 249 250 _end = .; 250 251