arm64: stacktrace: Constify stacktrace.h functions
authorDave Martin <Dave.Martin@arm.com>
Tue, 2 Jul 2019 13:07:27 +0000 (14:07 +0100)
committerWill Deacon <will@kernel.org>
Mon, 22 Jul 2019 10:44:00 +0000 (11:44 +0100)
commit8caa6e2be72313c170f2b30e8475323526dd7ed1
tree9905ea3e16c62ecf93cabf679fadf94efc090f1f
parenta88754b23114cfb61efed56ed448c05e4cb7e20d
arm64: stacktrace: Constify stacktrace.h functions

on_accessible_stack() and on_task_stack() shouldn't (and don't)
modify their task argument, so it can be const.

This patch adds the appropriate modifiers. Whitespace violations in the
parameter lists are fixed at the same time.

No functional change.

Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Dave Martin <dave.martin@arm.com>
[Mark: fixup const location, whitespace]
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/include/asm/stacktrace.h