efi_loader: remove asm/setjmp.h from efi_api.h
In the commitc982874e93("efi_loader: refactor efi_setup_loaded_image()"), setjmp-related definitions were moved to efi_loaded_image_obj in efi_loader.h. So setjmp.h is no longer refererenced in efi_api.h. This also fixes some error when efi_api.h will be included in mkeficapsule.c. Fixes:c982874e93("efi_loader: refactor efi_setup_loaded_image()") Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
committed by
Heinrich Schuchardt
parent
c2cc60c1f9
commit
86a3d43bff
@@ -20,10 +20,6 @@
|
||||
#include <charset.h>
|
||||
#include <pe.h>
|
||||
|
||||
#ifdef CONFIG_EFI_LOADER
|
||||
#include <asm/setjmp.h>
|
||||
#endif
|
||||
|
||||
/* UEFI spec version 2.8 */
|
||||
#define EFI_SPECIFICATION_VERSION (2 << 16 | 80)
|
||||
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
#include <pe.h>
|
||||
|
||||
struct blk_desc;
|
||||
struct jmp_buf_data;
|
||||
|
||||
static inline int guidcmp(const void *g1, const void *g2)
|
||||
{
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
#include <usb.h>
|
||||
#include <watchdog.h>
|
||||
#include <asm/global_data.h>
|
||||
#include <asm/setjmp.h>
|
||||
#include <linux/libfdt_env.h>
|
||||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
||||
Reference in New Issue
Block a user