]> git.sur5r.net Git - u-boot/commit
arm: Fix setjmp
authorAlexander Graf <agraf@suse.de>
Mon, 13 Jun 2016 12:01:07 +0000 (14:01 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 17 Jun 2016 13:51:06 +0000 (09:51 -0400)
commite677724884c175e978b463cf941ecb9310d3b900
treee424c5aa2fbaa5cfe800c0f102fd196b265b7150
parent71423435fb02c2ed9e7aa14c1208d3cccbff2519
arm: Fix setjmp

The setjmp/longjmp implementation did not work on thumb1 implementations
because it used instruction encodings that don't exist on thumb1 yet.

This patch limits itself to thumb1 instruction set for 32bit arm and
removes a superfluous printf along the way.

Signed-off-by: Alexander Graf <agraf@suse.de>
arch/arm/include/asm/setjmp.h