]> www.infradead.org Git - users/dwmw2/qemu.git/commit
target/s390x/arch_dump: use correct byte order for pid
authorOmar Sandoval <osandov@osandov.com>
Wed, 19 Jun 2024 05:00:12 +0000 (22:00 -0700)
committerThomas Huth <thuth@redhat.com>
Mon, 24 Jun 2024 06:13:58 +0000 (08:13 +0200)
commit87c9d801a60c0003e1b570d47a91921f49c6006f
treefb11595d553b2cc15f11901d6bf2ecef8faa999e
parent7c66540db45a726029e5165f6e5c34008f08edec
target/s390x/arch_dump: use correct byte order for pid

The pid field of prstatus needs to be big endian like all of the other
fields.

Fixes: f738f296eaae ("s390x/arch_dump: pass cpuid into notes sections")
Signed-off-by: Omar Sandoval <osandov@osandov.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-ID: <5929f76d536d355afd04af51bf293695a1065118.1718771802.git.osandov@osandov.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
target/s390x/arch_dump.c