MIPS: Fix some missing CONFIG_CPU_MIPSR6 #ifdefs
authorHuacai Chen <chenhc@lemote.com>
Thu, 21 Jan 2016 13:09:52 +0000 (21:09 +0800)
committerRalf Baechle <ralf@linux-mips.org>
Sun, 24 Jan 2016 00:32:25 +0000 (01:32 +0100)
commit4f33f6c522948fffc345261896042b58dea23754
treeca205503ff78ad57ed87b0caf742a81f27b55663
parentdb0dbd57d59ad02c8343c69e8c73e749c0515ec3
MIPS: Fix some missing CONFIG_CPU_MIPSR6 #ifdefs

Commit be0c37c985eddc4 (MIPS: Rearrange PTE bits into fixed positions.)
defines fixed PTE bits for MIPS R2. Then, commit d7b631419b3d230a4d383
(MIPS: pgtable-bits: Fix XPA damage to R6 definitions.) adds the MIPS
R6 definitions in the same way as MIPS R2. But some R6 #ifdefs in the
later commit are missing, so in this patch I fix that.

Signed-off-by: Huacai Chen <chenhc@lemote.com>
Cc: Aurelien Jarno <aurelien@aurel32.net>
Cc: Steven J. Hill <Steven.Hill@imgtec.com>
Cc: Fuxin Zhang <zhangfx@lemote.com>
Cc: Zhangjin Wu <wuzhangjin@gmail.com>
Cc: linux-mips@linux-mips.org
Cc: stable@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/12164/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/pgtable.h
arch/mips/mm/tlbex.c