diff options
author | Brooks Davis <brooks@FreeBSD.org> | 2022-06-13 20:35:40 +0300 |
---|---|---|
committer | Brooks Davis <brooks@FreeBSD.org> | 2022-06-13 20:35:40 +0300 |
commit | f6fada5eed38a8ee2338c1747b9fef587c3ae3da (patch) | |
tree | 404e1c572e8879034cb41822f84c24f0e5e4b55f /include | |
parent | a29263b6565145c3596356dce2e743ae13461fa7 (diff) |
amd64: -m32 support for machine/pcpu.h
Install the i386 pcpu.h under /usr/include/i386 on amd64 and include
when targeting i386.
This is a kernel-only header and should not be required, but
procstat's zfs support includes this with _KERNEL defined.
Reviewed by: jhb, imp
Diffstat (limited to 'include')
-rw-r--r-- | include/i386/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/i386/Makefile b/include/i386/Makefile index 5bc1a13033e5..70d825bab9cf 100644 --- a/include/i386/Makefile +++ b/include/i386/Makefile @@ -11,6 +11,10 @@ INCS= \ profile.h \ segments.h \ vmparam.h +# These kernel-only headers are used by procstat's ZFS support. +# This should be fixed. +INCS+= \ + pcpu.h INCSDIR= ${INCLUDEDIR}/i386 .include <bsd.prog.mk> |