avr32: setup crt for early panic()
authorAndreas Bießmann <andreas@biessmann.de>
Thu, 24 Oct 2013 10:31:03 +0000 (12:31 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Dec 2013 18:57:04 +0000 (10:57 -0800)
commitbf4730f3ac2dcfce9bf3d50a138aa4065283d1d9
treebe809310d1cbc185662b2b5e0ce872a35902ba16
parent6be060cda95bb7d65d209b382add52bd2dee7662
avr32: setup crt for early panic()

commit 7a2a74f4b856993218aa7cdeeb6c3103101340db upstream.

Before the CRT was (fully) set up in kernel_entry (bss cleared before in
_start, but also not before jump to panic() in no_tag_table case).

This patch fixes this up to have a fully working CRT when branching to panic()
in no_tag_table.

Signed-off-by: Andreas Bießmann <andreas@biessmann.de>
Acked-by: Hans-Christian Egtvedt <egtvedt@samfundet.no>
Cc: Haavard Skinnemoen <hskinnemoen@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/avr32/boot/u-boot/head.S
arch/avr32/kernel/head.S