efi: Make memreserve table handling local to efi.c
authorArd Biesheuvel <ardb@kernel.org>
Wed, 22 Jan 2020 14:06:54 +0000 (15:06 +0100)
committerArd Biesheuvel <ardb@kernel.org>
Sun, 23 Feb 2020 20:59:42 +0000 (21:59 +0100)
commitb7846e6be235c4a19337a32168b27ed836a1504e
tree713cbfebc6d7930e89bcc1fb98241015391b16ea
parenta17e809ea573e69474064ba2bbff06d212861e19
efi: Make memreserve table handling local to efi.c

There is no need for struct efi to carry the address of the memreserve
table and share it with the world. So move it out and make it
__initdata as well.

Tested-by: Tony Luck <tony.luck@intel.com> # arch/ia64
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
drivers/firmware/efi/efi.c
include/linux/efi.h