]> git.sur5r.net Git - u-boot/blob - arch/x86/cpu/x86_64/setjmp.c
SPDX: Convert all of our single license tags to Linux Kernel style
[u-boot] / arch / x86 / cpu / x86_64 / setjmp.c
1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3  * Copyright (c) 2016 Google, Inc
4  */
5
6 #include <common.h>
7 #include <asm/setjmp.h>
8
9 int setjmp(struct jmp_buf_data *jmp_buf)
10 {
11         printf("WARNING: setjmp() is not supported\n");
12
13         return 0;
14 }
15
16 void longjmp(struct jmp_buf_data *jmp_buf, int val)
17 {
18         printf("WARNING: longjmp() is not supported\n");
19 }