x86: Add implementations of setjmp() and longjmp()
authorSimon Glass <sjg@chromium.org>
Tue, 18 Oct 2016 02:29:07 +0000 (20:29 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 18 Oct 2016 07:58:50 +0000 (15:58 +0800)
commitf822403f0164be74a5161b65698d0f01f4556234
treeaccf57d30c4d04ae6daa0278f1d4358949dcba1f
parent2b445e4d31940d512b3257f7398b794be710b8a9
x86: Add implementations of setjmp() and longjmp()

Bring in these functions from Linux v4.4. They will be needed for EFI loader
support.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/Makefile
arch/x86/cpu/setjmp.S [new file with mode: 0644]
arch/x86/include/asm/setjmp.h [new file with mode: 0644]