module: Rename debug_align() as strict_align()
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Wed, 23 Feb 2022 09:01:01 +0000 (10:01 +0100)
committerLuis Chamberlain <mcgrof@kernel.org>
Tue, 5 Apr 2022 15:43:04 +0000 (08:43 -0700)
commit7337f929d5672e37a80c8582d357f084320f475f
tree2d15fd6294f4633c06a915243ea5612553fddc84
parentef505058dc5524488a84423b4d5e8a7598a23a2e
module: Rename debug_align() as strict_align()

debug_align() was added by commit 84e1c6bb38eb ("x86: Add RO/NX
protection for loadable kernel modules")

At that time the config item was CONFIG_DEBUG_SET_MODULE_RONX.

But nowadays it has changed to CONFIG_STRICT_MODULE_RWX and
debug_align() is confusing because it has nothing to do with
DEBUG.

Rename it strict_align()

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
kernel/module/internal.h
kernel/module/kallsyms.c
kernel/module/main.c