From ae3f3024d9ef60c6e12d9b49b2fd955939616504 Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Wed, 10 Feb 2016 22:54:07 -0600 Subject: arch: remove stage_exit() It's no longer used. Remove it. Change-Id: Id6f4084ab9d671e94f0eee76bf36fad9a174ef14 Signed-off-by: Aaron Durbin Reviewed-on: https://review.coreboot.org/13678 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/arch/x86/include/arch/stages.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src/arch/x86/include') 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 -- cgit v1.2.3