xref: /rk3399_rockchip-uboot/arch/x86/cpu/x86_64/setjmp.c (revision 77ca99d1a0d9fd46046d417b4247edb4e1b05d4e)
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