kern: Stop using TheISA::GuestByteOrder in Linux::dumpDmesg.
authorGabe Black <gabeblack@google.com>
Wed, 19 Aug 2020 09:22:35 +0000 (02:22 -0700)
committerGabe Black <gabeblack@google.com>
Thu, 20 Aug 2020 01:38:45 +0000 (01:38 +0000)
commitfee00c6863747614236ff5817b714755bfad40c2
tree672866e5f1e318dcf10f76712149c36efd613071
parent937c4b4003939a78a9172ecbeb08a0e6859209da
kern: Stop using TheISA::GuestByteOrder in Linux::dumpDmesg.

This value is already read from the system object in that same function.
We should use that instead of getting the value ourselves.

Change-Id: I0a442cd4892f50ad0179884bebf3eb52881c022f
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/32924
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/kern/linux/helpers.cc