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: NCatalin Marinas <catalin.marinas@arm.com> Signed-off-by: NDave Martin <dave.martin@arm.com> [Mark: fixup const location, whitespace] Signed-off-by: NMark Rutland <mark.rutland@arm.com> Signed-off-by: NWill Deacon <will@kernel.org>
Showing
想要评论请 注册 或 登录