arm64: Correct ftrace calls to aarch64_insn_gen_branch_imm()
authorCatalin Marinas <catalin.marinas@arm.com>
Fri, 19 Sep 2014 11:05:45 +0000 (12:05 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 19 Sep 2014 11:05:45 +0000 (12:05 +0100)
commit9f1ae7596aad71d18c3e88a3927f3f76b037b8fe
treeca4c896b2f2ab1abdefe9afe826a98131755ab6e
parenta6583c7c8114c4850b57365e85da85e37d5fc568
arm64: Correct ftrace calls to aarch64_insn_gen_branch_imm()

The aarch64_insn_gen_branch_imm() function takes an enum as the last
argument rather than a bool. It happens to work because
AARCH64_INSN_BRANCH_LINK matches 'true' but better to use the actual
type.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/ftrace.c