Skip to content
Commit 168e47f2 authored by Laura Abbott's avatar Laura Abbott Committed by Catalin Marinas
Browse files

kernel/module.c: Update debug alignment after symtable generation



When CONFIG_DEBUG_SET_MODULE_RONX is enabled, the sizes of
module sections are aligned up so appropriate permissions can
be applied. Adjusting for the symbol table may cause them to
become unaligned. Make sure to re-align the sizes afterward.

Signed-off-by: default avatarLaura Abbott <lauraa@codeaurora.org>
Acked-by: default avatarRusty Russell <rusty@rustcorp.com.au>
Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
parent 8b5f5a07
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment