MIPS: Add guest CP0 accessors
authorJames Hogan <james.hogan@imgtec.com>
Wed, 11 May 2016 14:50:29 +0000 (15:50 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 13 May 2016 13:30:25 +0000 (15:30 +0200)
commit7eb91118227d71132ca2da06a9b376ba656171d9
tree49395885973f66f992587150df37fe8bc1be2357
parentf913e9ea3946902f5443e703d70d5daf90f4498a
MIPS: Add guest CP0 accessors

Add guest CP0 accessors and guest TLB operations along the same lines as
the existing macros and functions for the root CP0.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Acked-by: David Daney <david.daney@cavium.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/13229/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/mipsregs.h