MIPS: kernel: process: Do not allow FR=0 on MIPS R6
authorMarkos Chandras <markos.chandras@imgtec.com>
Tue, 13 Jan 2015 13:01:49 +0000 (13:01 +0000)
committerMarkos Chandras <markos.chandras@imgtec.com>
Tue, 17 Feb 2015 15:37:38 +0000 (15:37 +0000)
commit13e45f095753b8203a8446648dea527f9ce4413c
treeb81e48b104b14339e0f5409a1a5ecdb816a1c36d
parente0d32f33e651a393a23826c06a9301917372f3e2
MIPS: kernel: process: Do not allow FR=0 on MIPS R6

A prctl() call to set FR=0 for MIPS R6 should not be allowed
since FR=1 is the only option for R6 cores.

Cc: Paul Burton <paul.burton@imgtec.com>
Cc: Matthew Fortune <matthew.fortune@imgtec.com>
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
arch/mips/kernel/process.c