Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2713a8ca authored by Andrey Ryabinin's avatar Andrey Ryabinin Committed by Alex Shi
Browse files

kasan, module: move MODULE_ALIGN macro into <linux/moduleloader.h>



include/linux/moduleloader.h is more suitable place for this macro.
Also change alignment to PAGE_SIZE for CONFIG_KASAN=n as such
alignment already assumed in several places.

Signed-off-by: default avatarAndrey Ryabinin <a.ryabinin@samsung.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Acked-by: default avatarRusty Russell <rusty@rustcorp.com.au>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit d3733e5c98e952d419e77fa721912f09d15a2806)
Signed-off-by: default avatarAlex Shi <alex.shi@linaro.org>
parent a0cc0c59
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment