arm64: fpsimd: Correctly annotate exception helpers called from asm
authorDave Martin <Dave.Martin@arm.com>
Tue, 31 Oct 2017 15:50:54 +0000 (15:50 +0000)
committerWill Deacon <will.deacon@arm.com>
Fri, 3 Nov 2017 15:24:11 +0000 (15:24 +0000)
commit94ef7ecbdf6f7d7f13bdf44b9eab4001e71208d6
tree5e208b80418eca253fd068e80ccae36551f33dd9
parent27e64b4be4b863d884f3ec1686a2f744ae93a1b9
arm64: fpsimd: Correctly annotate exception helpers called from asm

A couple of FPSIMD exception handling functions that are called
from entry.S are currently not annotated as such.

This is not a big deal since asmlinkage does nothing on arm/arm64,
but fixing the annotations is more consistent and may help avoid
future surprises.

This patch adds appropriate asmlinkage annotations for
do_fpsimd_acc() and do_fpsimd_exc().

Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Dave Martin <Dave.Martin@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/fpsimd.c