trinity: fix typo in MIPS' GET_FP_MODE and SET_FP_MODE macros
authorVicente Olivert Riera <Vincent.Riera@imgtec.com>
Mon, 14 Dec 2015 15:00:35 +0000 (15:00 +0000)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 14 Dec 2015 16:55:01 +0000 (17:55 +0100)
commitcacba8c1d10ab0be3cac3e4a7c487fdcb6698ee5
tree9de3deadac6c8e9aa9cc2ece03c439d2234c22f5
parent74641b380c7309008466b2daa670dfbfdf03f9bc
trinity: fix typo in MIPS' GET_FP_MODE and SET_FP_MODE macros

Add a patch to fix a typo in the syscalls/prctl.c file. The
PR_GET_FP_MODE and PR_SET_FP_MODE macros are defined in
include/compat.h, but then syscalls/prctl.c tries to use GET_FP_MODE and
SET_FP_MODE. It's lacking the PR_ preffix, and this is causing build
failures like this one:

  CC syscalls/prctl.o
syscalls/prctl.c:37:2: error: 'GET_FP_MODE' undeclared here (not in a
function)
  GET_FP_MODE, SET_FP_MODE,
  ^
syscalls/prctl.c:37:15: error: 'SET_FP_MODE' undeclared here (not
in a function)
  GET_FP_MODE, SET_FP_MODE,
               ^

This patch has been sent upstream.

Fixes:
  http://autobuild.buildroot.net/results/12f/12f3144b5d99aa1872f6073f3aaac7f8a9c5cfdc/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/trinity/0001-mips-fix-prctl-s.patch [new file with mode: 0644]