summaryrefslogtreecommitdiff
path: root/arch/x86/cpu/x86_64/setjmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/cpu/x86_64/setjmp.c')
-rw-r--r--arch/x86/cpu/x86_64/setjmp.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/arch/x86/cpu/x86_64/setjmp.c b/arch/x86/cpu/x86_64/setjmp.c
deleted file mode 100644
index 5d4a74a571..0000000000
--- a/arch/x86/cpu/x86_64/setjmp.c
+++ /dev/null
@@ -1,19 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0+
-/*
- * Copyright (c) 2016 Google, Inc
- */
-
-#include <common.h>
-#include <asm/setjmp.h>
-
-int setjmp(struct jmp_buf_data *jmp_buf)
-{
- printf("WARNING: setjmp() is not supported\n");
-
- return 0;
-}
-
-void longjmp(struct jmp_buf_data *jmp_buf, int val)
-{
- printf("WARNING: longjmp() is not supported\n");
-}