1 From d61dd102b95b9791e45d6bbf1e34814b8c6c1731 Mon Sep 17 00:00:00 2001
2 From: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
3 Date: Mon, 14 Dec 2015 14:46:37 +0000
4 Subject: [PATCH] mips: fix prctl's
6 It looks like a typo in the syscalls/prctl.c file. It's lacking the PR_
7 preffix, and due to that is causing build failures like this one:
10 syscalls/prctl.c:37:2: error: 'GET_FP_MODE' undeclared here (not in a
12 GET_FP_MODE, SET_FP_MODE,
14 syscalls/prctl.c:37:15: error: 'SET_FP_MODE' undeclared here (not
16 GET_FP_MODE, SET_FP_MODE,
19 Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
21 syscalls/prctl.c | 2 +-
22 1 file changed, 1 insertion(+), 1 deletion(-)
24 diff --git a/syscalls/prctl.c b/syscalls/prctl.c
25 index 523f03e..5a64fb3 100644
26 --- a/syscalls/prctl.c
27 +++ b/syscalls/prctl.c
28 @@ -34,7 +34,7 @@ static int prctl_opts[] = {
29 PR_GET_NO_NEW_PRIVS, PR_GET_TID_ADDRESS, PR_SET_THP_DISABLE, PR_GET_THP_DISABLE,
30 PR_MPX_ENABLE_MANAGEMENT, PR_MPX_DISABLE_MANAGEMENT,
32 - GET_FP_MODE, SET_FP_MODE,
33 + PR_GET_FP_MODE, PR_SET_FP_MODE,