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

Commit e898dc1b authored by Andrey Ryabinin's avatar Andrey Ryabinin Committed by Patrick Daly
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>
Git-commit: d3733e5c98e952d419e77fa721912f09d15a2806
Git-repo: https://github.com/torvalds/linux.git


[pdaly@codeaurora.org: resolve merge conflicts in moduleloader.h]
Change-Id: I62058af2d0a8a9d8e4981329f02a504381a58331
Signed-off-by: default avatarPatrick Daly <pdaly@codeaurora.org>
parent 9462081c
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