mirror of
https://github.com/torvalds/linux.git
synced 2024-11-17 17:41:44 +00:00
MIPS: MT: Fix build error iFPU affinity code
Commit b0ae198113
("security: remove unused parameter from
security_task_setscheduler()") broke the build of
arch/mips/kernel/mips-mt-fpaff.c. The function arguments were
unnecessary, not the semicolon ...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Acked-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Acked-by: James Morris <jmorris@namei.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
b7d41a9fbb
commit
a7f505c6b1
@ -103,7 +103,7 @@ asmlinkage long mipsmt_sys_sched_setaffinity(pid_t pid, unsigned int len,
|
|||||||
if (!check_same_owner(p) && !capable(CAP_SYS_NICE))
|
if (!check_same_owner(p) && !capable(CAP_SYS_NICE))
|
||||||
goto out_unlock;
|
goto out_unlock;
|
||||||
|
|
||||||
retval = security_task_setscheduler(p)
|
retval = security_task_setscheduler(p);
|
||||||
if (retval)
|
if (retval)
|
||||||
goto out_unlock;
|
goto out_unlock;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user