xref: /rk3399_rockchip-uboot/arch/x86/cpu/x86_64/setjmp.c (revision 8dda2e2f9e0976249f4a390e72f12533dbcb5ef4)
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 }
21