]> git.karo-electronics.de Git - karo-tx-linux.git/commit
tile: normalize global variables exported by vmlinux.lds
authorJiang Liu <liuj97@gmail.com>
Wed, 19 Jun 2013 00:06:24 +0000 (10:06 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 19 Jun 2013 07:13:15 +0000 (17:13 +1000)
commitf029e5aab14849f7c44461e125151198999be485
treec36cb84550087f49647a622a37bf6ee1c1cd0a6b
parentc26a9a4f1cf47c8762231ffd5385551dd4898a66
tile: normalize global variables exported by vmlinux.lds

Normalize global variables exported by vmlinux.lds to conform usage
guidelines from include/asm-generic/sections.h.

1) Use _text to mark the start of the kernel image including the head
text, and _stext to mark the start of the .text section.
2) Export mandatory global variables __init_begin and __init_end.

Signed-off-by: Jiang Liu <jiang.liu@huawei.com>
Acked-by: Chris Metcalf <cmetcalf@tilera.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Wen Congyang <wency@cn.fujitsu.com>
Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/tile/include/asm/sections.h
arch/tile/kernel/setup.c
arch/tile/kernel/vmlinux.lds.S
arch/tile/mm/init.c