]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
MIPS: Fix duplicate CP0_* definitions.
authorJames Hogan <james.hogan@imgtec.com>
Tue, 10 Nov 2015 17:06:37 +0000 (17:06 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 11 Nov 2015 07:31:52 +0000 (08:31 +0100)
commit195cee92afcb20b2156437e98b144d94812e4afd
tree1ba0e6a480c8fe6b2ee74c7e3c3b9f3f3f80d932
parent8fe2c5478b11d407e3c19d96eb9c0bfe19ce5f8c
MIPS: Fix duplicate CP0_* definitions.

Remove the definition in locore.S and move a few of the other similar
definitions in asm/mipsregs.h too. CP0_INTCTL, CP0_SRSCTL, & CP0_SRSMAP
are unused so they're just dropped instead. CP0_DDATA_LO is left where
it is as I have patches to eliminate its use in locore.S and it
otherwise is unlikely to need to be used from assembly code.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Burton <paul.burton@imgtec.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Gleb Natapov <gleb@kernel.org>
Cc: linux-mips@linux-mips.org
Cc: kvm@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/11461/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/mipsregs.h
arch/mips/kvm/locore.S