Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Commit a9cd410 ("mm/page_alloc.c: memory hotplug: free pages as higher order") changed `static void __init __free_pages_boot_core()` into `void __free_pages_core()`, causing the following section mismatch warning at compile time: WARNING: vmlinux.o(.text+0x180fe4): Section mismatch in reference from the function __free_pages_core() to the variable .meminit.data:extra_latent_entropy The function __free_pages_core() references the variable __meminitdata extra_latent_entropy. This is often because __free_pages_core lacks a __meminitdata annotation or the annotation of extra_latent_entropy is wrong. This commit is an attempt at fixing this issue. I'm not sure it's OK as we are accessing pages that are still managed by the bootmem allocator. The prefetching part is not an issue as it only affects struct pages. Signed-off-by: Thibaut Sautereau <thibaut.sautereau@ssi.gouv.fr>
- Loading branch information