Index: share/man/man9/fpu_kern.9 =================================================================== --- share/man/man9/fpu_kern.9 +++ share/man/man9/fpu_kern.9 @@ -30,6 +30,7 @@ .Nm fpu_kern .Nd "facility to use the FPU in the kernel" .Sh SYNOPSIS +.In machine/fpu.h .Ft struct fpu_kern_ctx * .Fn fpu_kern_alloc_ctx "u_int flags" .Ft void Index: sys/crypto/aesni/aesni.h =================================================================== --- sys/crypto/aesni/aesni.h +++ sys/crypto/aesni/aesni.h @@ -40,10 +40,6 @@ #include #include #include -#endif -#if defined(__i386__) -#include -#elif defined(__amd64__) #include #endif Index: sys/crypto/aesni/aesni.c =================================================================== --- sys/crypto/aesni/aesni.c +++ sys/crypto/aesni/aesni.c @@ -60,11 +60,7 @@ #include #include -#if defined(__i386__) -#include -#elif defined(__amd64__) #include -#endif static struct mtx_padalign *ctx_mtx; static struct fpu_kern_ctx **ctx_fpu; Index: sys/crypto/blake2/blake2_cryptodev.c =================================================================== --- sys/crypto/blake2/blake2_cryptodev.c +++ sys/crypto/blake2/blake2_cryptodev.c @@ -43,11 +43,7 @@ #include #include -#if defined(__amd64__) #include -#elif defined(__i386__) -#include -#endif struct blake2_session { size_t mlen; Index: sys/crypto/via/padlock.h =================================================================== --- sys/crypto/via/padlock.h +++ sys/crypto/via/padlock.h @@ -32,11 +32,7 @@ #include #include -#if defined(__i386__) -#include -#elif defined(__amd64__) #include -#endif union padlock_cw { uint64_t raw; Index: sys/i386/include/fpu.h =================================================================== --- /dev/null +++ sys/i386/include/fpu.h @@ -0,0 +1,6 @@ +/*- + * This file is in the public domain. + * + * $FreeBSD$ + */ +#include