Blackfin: fix initial stack pointer setup
authorBarry Song <barry.song@analog.com>
Tue, 5 Jan 2010 07:25:24 +0000 (07:25 +0000)
committerMike Frysinger <vapier@gentoo.org>
Tue, 9 Mar 2010 05:30:48 +0000 (00:30 -0500)
commitaad16f32284030907b4f105e92e5fb534fd272bc
treed55bf69a4c8e97be7777d1f1ce3c04cec15be3d0
parent8916a1499d958fcb9086a2c49a5fa3000689bb81
Blackfin: fix initial stack pointer setup

During very early init, the stack pointer is given a slightly incorrect
value (&init_thread_union).  The value is later adjusted to the right one
during early init (&init_thread_union + THREAD_SIZE), but it is used a few
times in between.  While the few functions used don't actually put things
onto the stack (due to optimization), it's best if we simply use the right
value from the start.

Signed-off-by: Barry Song <barry.song@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/mach-common/head.S