lkml.org 
[lkml]   [2020]   [Mar]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[tip: x86/cleanups] x86/efi: Add a prototype for efi_arch_mem_reserve()
The following commit has been merged into the x86/cleanups branch of tip:

Commit-ID: 860f89e6182479149bb6c27f5f44989b0628a176
Gitweb: https://git.kernel.org/tip/860f89e6182479149bb6c27f5f44989b0628a176
Author: Benjamin Thiel <b.thiel@posteo.de>
AuthorDate: Thu, 26 Mar 2020 14:50:41 +01:00
Committer: Borislav Petkov <bp@suse.de>
CommitterDate: Fri, 27 Mar 2020 11:21:21 +01:00

x86/efi: Add a prototype for efi_arch_mem_reserve()

... in order to fix a -Wmissing-ptototypes warning:

arch/x86/platform/efi/quirks.c:245:13: warning:
no previous prototype for ‘efi_arch_mem_reserve’ [-Wmissing-prototypes] \
void __init efi_arch_mem_reserve(phys_addr_t addr, u64 size)

Signed-off-by: Benjamin Thiel <b.thiel@posteo.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20200326135041.3264-1-b.thiel@posteo.de
---
include/linux/efi.h | 2 ++
1 file changed, 2 insertions(+)

diff --git a/include/linux/efi.h b/include/linux/efi.h
index 7efd707..e4b28ae 100644
--- a/include/linux/efi.h
+++ b/include/linux/efi.h
@@ -1703,4 +1703,6 @@ struct linux_efi_memreserve {

void efi_pci_disable_bridge_busmaster(void);

+void __init efi_arch_mem_reserve(phys_addr_t addr, u64 size);
+
#endif /* _LINUX_EFI_H */
\
 
 \ /
  Last update: 2020-03-27 15:55    [W:0.076 / U:1.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site