summaryrefslogtreecommitdiff
path: root/src/arch/x86
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2016-02-10 22:54:07 -0600
committerAaron Durbin <adurbin@chromium.org>2016-02-11 23:12:06 +0100
commitae3f3024d9ef60c6e12d9b49b2fd955939616504 (patch)
tree3d0b304afabc9f70b9efe79aca8426f5e07e205f /src/arch/x86
parent69d20c45ecd8d224f1e9cf785f4fa441feb6e0a3 (diff)
arch: remove stage_exit()
It's no longer used. Remove it. Change-Id: Id6f4084ab9d671e94f0eee76bf36fad9a174ef14 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/13678 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/arch/x86')
-rw-r--r--src/arch/x86/include/arch/stages.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/arch/x86/include/arch/stages.h b/src/arch/x86/include/arch/stages.h
index 6f68326b13..49921ae0e1 100644
--- a/src/arch/x86/include/arch/stages.h
+++ b/src/arch/x86/include/arch/stages.h
@@ -20,15 +20,4 @@
void asmlinkage copy_and_run(void);
-static inline void stage_exit(void *entry)
-{
- __asm__ volatile (
-#ifdef __x86_64__
- "jmp *%%rdi\n"
-#else
- "jmp *%%edi\n"
-#endif
- :: "D"(entry)
- );
-}
#endif