[Buildroot] [PATCH 1/2] trinity: fix typo in MIPS' GET_FP_MODE and SET_FP_MODE macros
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Mon Dec 14 16:55:42 UTC 2015
Dear Vicente Olivert Riera,
On Mon, 14 Dec 2015 15:00:35 +0000, Vicente Olivert Riera wrote:
> 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 at imgtec.com>
> ---
> package/trinity/0001-mips-fix-prctl-s.patch | 39 +++++++++++++++++++++++++++++
> 1 file changed, 39 insertions(+)
> create mode 100644 package/trinity/0001-mips-fix-prctl-s.patch
Both applied, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list