aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/efi.h
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2021-01-18 13:38:42 +0100
committerArd Biesheuvel <ardb@kernel.org>2021-01-18 13:50:37 +0100
commit8ff059b8531f3b98e14f0461859fc7cdd95823e4 (patch)
tree8e39a35960fc3120716cd2394de2b944b6162e9c /include/linux/efi.h
parentLinux 5.11-rc1 (diff)
downloadlinux-dev-8ff059b8531f3b98e14f0461859fc7cdd95823e4.tar.xz
linux-dev-8ff059b8531f3b98e14f0461859fc7cdd95823e4.zip
efi: ia64: move IA64-only declarations to new asm/efi.h header
Move some EFI related declarations that are only referenced on IA64 to a new asm/efi.h arch header. Cc: Tony Luck <tony.luck@intel.com> Cc: Fenghua Yu <fenghua.yu@intel.com> Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'include/linux/efi.h')
-rw-r--r--include/linux/efi.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/efi.h b/include/linux/efi.h
index 763b816ba19c..0c31af36697c 100644
--- a/include/linux/efi.h
+++ b/include/linux/efi.h
@@ -167,8 +167,6 @@ struct capsule_info {
int __efi_capsule_setup_info(struct capsule_info *cap_info);
-typedef int (*efi_freemem_callback_t) (u64 start, u64 end, void *arg);
-
/*
* Types and defines for Time Services
*/
@@ -605,10 +603,6 @@ efi_guid_to_str(efi_guid_t *guid, char *out)
}
extern void efi_init (void);
-extern void *efi_get_pal_addr (void);
-extern void efi_map_pal_code (void);
-extern void efi_memmap_walk (efi_freemem_callback_t callback, void *arg);
-extern void efi_gettimeofday (struct timespec64 *ts);
#ifdef CONFIG_EFI
extern void efi_enter_virtual_mode (void); /* switch EFI to virtual mode, if possible */
#else