From a69293ca57c5a42402d7bbc26c52c6221c7d2f43 Mon Sep 17 00:00:00 2001 From: Jan Sommer Date: Fri, 17 Apr 2020 10:24:08 +0200 Subject: i386: Port to RTEMS - Update imported files to compile rtems-libbsd for i386 based BSPs - Mostly commenting out parts which create compile or link errors in RTEMS, but aren't needed --- freebsd/sys/i386/include/machine/cpufunc.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'freebsd/sys/i386/include/machine/cpufunc.h') diff --git a/freebsd/sys/i386/include/machine/cpufunc.h b/freebsd/sys/i386/include/machine/cpufunc.h index a029da3b..e50ef9d7 100644 --- a/freebsd/sys/i386/include/machine/cpufunc.h +++ b/freebsd/sys/i386/include/machine/cpufunc.h @@ -233,11 +233,13 @@ fls(int mask) #define HAVE_INLINE_FLSL +#ifndef __rtems__ static __inline __pure2 int flsl(long mask) { return (fls((int)mask)); } +#endif /* __rtems__ */ #endif /* _KERNEL */ -- cgit v1.2.3