Submitter | Ard Biesheuvel |
---|---|
Date | Feb. 2, 2019, 9:41 a.m. |
Message ID | <20190202094119.13230-2-ard.biesheuvel@linaro.org> |
Download | mbox | patch |
Permalink | /patch/716589/ |
State | New |
Headers | show |
Comments
Patch
diff --git a/arch/x86/platform/efi/quirks.c b/arch/x86/platform/efi/quirks.c index 17456a1d3f04..9ce85e605052 100644 --- a/arch/x86/platform/efi/quirks.c +++ b/arch/x86/platform/efi/quirks.c @@ -304,7 +304,7 @@ void __init efi_arch_mem_reserve(phys_addr_t addr, u64 size) * - Not within any part of the kernel * - Not the BIOS reserved area (E820_TYPE_RESERVED, E820_TYPE_NVS, etc) */ -static bool can_free_region(u64 start, u64 size) +static __init bool can_free_region(u64 start, u64 size) { if (start + size > __pa_symbol(_text) && start <= __pa_symbol(_end)) return false;