]> git.baikalelectronics.ru Git - kernel.git/commit
Blackfin: calculate on-chip lengths at link time rather than run time
authorMike Frysinger <vapier@gentoo.org>
Wed, 23 Sep 2009 20:34:48 +0000 (20:34 +0000)
committerMike Frysinger <vapier@gentoo.org>
Tue, 15 Dec 2009 05:13:55 +0000 (00:13 -0500)
commit1c7d36aa5f55fdf416914c069512187b2f82af75
tree3e72b56fef6e99ab2032d88138440b57543e3c02
parent732c7ff0cdeb5f0e722a3be5776878209991bed9
Blackfin: calculate on-chip lengths at link time rather than run time

Since the link sizes never change at runtime, push the calculation out to
the linker script to save some useless calculation costs.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/include/asm/sections.h
arch/blackfin/kernel/setup.c
arch/blackfin/kernel/vmlinux.lds.S