[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <158532086972.28353.17246569541666507215.tip-bot2@tip-bot2>
Date: Fri, 27 Mar 2020 14:54:29 -0000
From: "tip-bot2 for Benjamin Thiel" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: Benjamin Thiel <b.thiel@...teo.de>, Borislav Petkov <bp@...e.de>,
x86 <x86@...nel.org>, LKML <linux-kernel@...r.kernel.org>
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@...teo.de>
AuthorDate: Thu, 26 Mar 2020 14:50:41 +01:00
Committer: Borislav Petkov <bp@...e.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@...teo.de>
Signed-off-by: Borislav Petkov <bp@...e.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 */
Powered by blists - more mailing lists