[PATCH 2/2] kasan, module: move MODULE_ALIGN macro into linux/moduleloader.h

2015-02-27 Thread Andrey Ryabinin
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: Andrey Ryabinin a.ryabi...@samsung.com Cc: Dmitry Vyukov dvyu...@google.com Cc: Rusty Russell

Re: [PATCH 2/2] kasan, module: move MODULE_ALIGN macro into linux/moduleloader.h

2015-02-27 Thread Rusty Russell
Andrey Ryabinin a.ryabi...@samsung.com writes: 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: Andrey Ryabinin a.ryabi...@samsung.com Cc: Dmitry