Merge branch 'master' of git://git.denx.de/u-boot-video
[oweals/u-boot.git] / arch / x86 / cpu / x86_64 / setjmp.c
1 /*
2  * Copyright (c) 2016 Google, Inc
3  *
4  * SPDX-License-Identifier:     GPL-2.0+
5  */
6
7 #include <common.h>
8 #include <asm/setjmp.h>
9
10 int setjmp(struct jmp_buf_data *jmp_buf)
11 {
12         printf("WARNING: setjmp() is not supported\n");
13
14         return 0;
15 }
16
17 void longjmp(struct jmp_buf_data *jmp_buf, int val)
18 {
19         printf("WARNING: longjmp() is not supported\n");
20 }