Skip to content

Commit

Permalink
FreeBSD: Sort out kernel FPU headers for 12.1-REL
Browse files Browse the repository at this point in the history
We were missing an include for kernel FPU functions, breaking the build
on FreeBSD 12.1-RELEASE.  This was apparently being pulled in from
elsewhere on stable/12 and head.

Sorted the other includes in these files while here.

Reviewed-by: Alexander Motin <[email protected]>
Signed-off-by: Ryan Moeller <[email protected]>
Closes #11005
  • Loading branch information
Ryan Moeller authored and behlendorf committed Oct 16, 2020
1 parent d6bee96 commit 106627c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
11 changes: 4 additions & 7 deletions include/os/freebsd/spl/sys/simd_x86.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,12 @@
* $FreeBSD$
*/

#include <sys/cdefs.h>
#include <sys/types.h>
#include <sys/systm.h>
#include <sys/cdefs.h>
#include <sys/proc.h>
#ifdef __i386__
#include <x86/fpu.h>
#else
#include <machine/fpu.h>
#endif
#include <sys/systm.h>

#include <machine/pcb.h>
#include <x86/x86_var.h>
#include <x86/specialreg.h>

Expand Down
11 changes: 7 additions & 4 deletions module/os/freebsd/spl/spl_taskq.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,21 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");

#include <sys/types.h>
#include <sys/param.h>
#include <sys/ck.h>
#include <sys/epoch.h>
#include <sys/kernel.h>
#include <sys/kmem.h>
#include <sys/lock.h>
#include <sys/mutex.h>
#include <sys/queue.h>
#include <sys/taskqueue.h>
#include <sys/taskq.h>
#include <sys/taskqueue.h>
#include <sys/zfs_context.h>
#include <sys/ck.h>
#include <sys/epoch.h>

#if defined(__i386__) || defined(__amd64__) || defined(__aarch64__)
#include <machine/pcb.h>
#endif

#include <vm/uma.h>

Expand Down

0 comments on commit 106627c

Please sign in to comment.