s390/stacktrace: add missing end marker
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 1 Feb 2016 13:06:57 +0000 (14:06 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 10 Feb 2016 08:25:21 +0000 (09:25 +0100)
commitf6331aaccbd980a49bff1559d66abcbd46af5b0a
treee2211fe3f20a00b539973e8e0329dba676eb3b7d
parent9900c48c46d8bcf497972024c5fe366e6d9771f3
s390/stacktrace: add missing end marker

save_stack_trace() did not write the ULONG_MAX end marker if there is
enough space left. So simply follow x86 and arm64.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Tested-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/stacktrace.c