From: Paul Walmsley Date: Tue, 6 Jan 2015 00:38:41 +0000 (-0700) Subject: arm64: fix missing asm/alternative.h include in kernel/module.c X-Git-Tag: MMI-PSA29.97-13-9~10851^2~2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2c2b282d001e9934adeac93c10eb037b81d532f5;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git arm64: fix missing asm/alternative.h include in kernel/module.c On next-20150105, defconfig compilation breaks with: arch/arm64/kernel/module.c:408:4: error: implicit declaration of function ‘apply_alternatives’ [-Werror=implicit-function-declaration] Fix by including asm/alternative.h, where the apply_alternatives() prototype is declared. This second version incorporates a comment from Mark Rutland to keep the includes in alphabetical order by filename. Signed-off-by: Paul Walmsley Cc: Paul Walmsley Cc: Catalin Marinas Cc: Will Deacon Acked-by: Mark Rutland Signed-off-by: Will Deacon --- diff --git a/arch/arm64/kernel/module.c b/arch/arm64/kernel/module.c index fd027b101de5..9b6f71db2709 100644 --- a/arch/arm64/kernel/module.c +++ b/arch/arm64/kernel/module.c @@ -25,6 +25,7 @@ #include #include #include +#include #include #include