LoongArch: Humanize the PRMD line when showing registers
authorWANG Xuerui <git@xen0n.name>
Mon, 1 May 2023 09:19:10 +0000 (17:19 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Mon, 1 May 2023 09:19:10 +0000 (17:19 +0800)
commitce7f0b18b030e17fb3d8327f1b6f1719165ca51d
tree78e1b2d245b71fc4afee5cada9ed032fb5249d03
parentefada2afacee7b5e59b3182bc36ddfb0fad2b0e2
LoongArch: Humanize the PRMD line when showing registers

Example output looks like:

[   xx.xxxxxx]  PRMD: 00000004 (PPLV0 +PIE -PWE)

Signed-off-by: WANG Xuerui <git@xen0n.name>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/kernel/traps.c