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

Commit ac287ef5 authored by Paul Walmsley's avatar Paul Walmsley Committed by Arve Hjønnevåg
Browse files

UPSTREAM: arm64: fix missing asm/alternative.h include in kernel/module.c



(cherry picked from commit 2c2b282d001e9934adeac93c10eb037b81d532f5)

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
<mark.rutland@arm.com> to keep the includes in alphabetical order
by filename.

Change-Id: Ia4ae417f5789524b5ff5749281c10e89a17619ae
Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
Cc: Paul Walmsley <pwalmsley@nvidia.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Acked-by: default avatarMark Rutland <mark.rutland@arm.com>
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
parent a5255b07
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