xref: /OK3568_Linux_fs/u-boot/arch/x86/cpu/x86_64/setjmp.c (revision 4882a59341e53eb6f0b4789bf948001014eff981)
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 
setjmp(struct jmp_buf_data * jmp_buf)10 int setjmp(struct jmp_buf_data *jmp_buf)
11 {
12 	printf("WARNING: setjmp() is not supported\n");
13 
14 	return 0;
15 }
16 
longjmp(struct jmp_buf_data * jmp_buf,int val)17 void longjmp(struct jmp_buf_data *jmp_buf, int val)
18 {
19 	printf("WARNING: longjmp() is not supported\n");
20 }
21