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)
commit5cd82a6d58cb14c3a5d08ed171229de7adc3deac
tree3e72b56fef6e99ab2032d88138440b57543e3c02
parent13048f8866390a26a7b657e0ca28100e2660063a
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