]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Add definitions of SegCtl registers and use them
authorMatt Redfearn <matt.redfearn@imgtec.com>
Wed, 18 May 2016 16:12:35 +0000 (17:12 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 28 May 2016 10:35:04 +0000 (12:35 +0200)
commit9bb88c4b2ff801437c3f750f99a843bf98da9d22
tree24d85f9b38c38569da2987b544301707acb98d2f
parent86d98b5833b0a001268aa4a1a3ccd32883abdbd4
MIPS: Add definitions of SegCtl registers and use them

The SegCtl registers are standard for MIPSr3..MIPSr5. Add definitions of
these registers and use them rather than constants

Signed-off-by: Matt Redfearn <matt.redfearn@imgtec.com>
Cc: Joshua Kinard <kumba@gentoo.org>
Cc: James Hogan <james.hogan@imgtec.com>
Cc: Chris Packham <judge.packham@gmail.com>
Cc: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/13290/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/mach-malta/kernel-entry-init.h
arch/mips/include/asm/mipsregs.h