MIPS: SGI-IP27: Use structs for decoding error status registers
authorThomas Bogendoerfer <tbogendoerfer@suse.de>
Thu, 9 Jan 2020 12:33:46 +0000 (13:33 +0100)
committerPaul Burton <paulburton@kernel.org>
Thu, 9 Jan 2020 23:29:59 +0000 (15:29 -0800)
commit2c616e9f03dbe291debc367f7c9a18cc34c3cfbe
tree21cc9b9d569d4c971ac56ef5e472631ab45f396d
parentdb96e058b4b3e349bd4a41f236bc27f1c9d545f0
MIPS: SGI-IP27: Use structs for decoding error status registers

Convert printing of error status registers to use structs, which
are defines for IP27 and IP35.

Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
Signed-off-by: Paul Burton <paulburton@kernel.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
arch/mips/sgi-ip27/ip27-berr.c