mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-04 09:09:56 +00:00
arm: Compile vfp.c conditionally rather than using an ifdef
No functional change intended. MFC after: 1 week
This commit is contained in:
parent
a7100ae23a
commit
96465c789a
@ -28,8 +28,6 @@
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#ifdef VFP
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/limits.h>
|
||||
@ -524,5 +522,3 @@ is_fpu_kern_thread(u_int flags __unused)
|
||||
curpcb = curthread->td_pcb;
|
||||
return ((curpcb->pcb_fpflags & PCB_FP_KERN) != 0);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
@ -75,7 +75,7 @@ arm/arm/uio_machdep.c standard
|
||||
arm/arm/undefined.c standard
|
||||
arm/arm/unwind.c optional ddb | kdtrace_hooks | stack
|
||||
arm/arm/vm_machdep.c standard
|
||||
arm/arm/vfp.c standard
|
||||
arm/arm/vfp.c optional vfp
|
||||
cddl/dev/dtrace/arm/dtrace_asm.S optional dtrace compile-with "${DTRACE_S}"
|
||||
cddl/dev/dtrace/arm/dtrace_subr.c optional dtrace compile-with "${DTRACE_C}"
|
||||
cddl/dev/fbt/arm/fbt_isa.c optional dtrace_fbt | dtraceall compile-with "${FBT_C}"
|
||||
|
Loading…
Reference in New Issue
Block a user