]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Allow storing pgd in C0_CONTEXT for MIPSr6
authorPaul Burton <paul.burton@imgtec.com>
Fri, 2 Jun 2017 22:38:03 +0000 (15:38 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 29 Jun 2017 00:42:29 +0000 (02:42 +0200)
commit0e9106878e0f56a6c8f5603359267d5e35792d24
tree0fbb2a5b8638b0d288e20c18e821ecc93ed103d3
parentf2a3517ae6aeb3d1588416ea837c217a565d5f27
MIPS: Allow storing pgd in C0_CONTEXT for MIPSr6

CONFIG_MIPS_PGD_C0_CONTEXT, which allows a pointer to the page directory
to be stored in the cop0 Context register when enabled, was previously
only allowed for MIPSr2. MIPSr6 is just as able to make use of it, so
allow it there too.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/16204/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/Kconfig