aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/procfs/Makefile
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2006-09-27 19:57:02 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2006-09-27 19:57:02 +0000
commit9fddcc6661d2cf7bb8e704308437d2b1674b50be (patch)
treea886251dab8c19f71a5bfd0199ec1d9b327b3513 /sys/modules/procfs/Makefile
parent3ea944faa0a3cf1e2fdcd8279ea45c038d5173cf (diff)
downloadsrc-9fddcc6661d2cf7bb8e704308437d2b1674b50be.tar.gz
src-9fddcc6661d2cf7bb8e704308437d2b1674b50be.zip
Fix our ioctl(2) implementation when the argument is "int". New
ioctls passing integer arguments should use the _IOWINT() macro. This fixes a lot of ioctl's not working on sparc64, most notable being keyboard/syscons ioctls. Full ABI compatibility is provided, with the bonus of fixing the handling of old ioctls on sparc64. Reviewed by: bde (with contributions) Tested by: emax, marius MFC after: 1 week
Notes
Notes: svn path=/head/; revision=162711
Diffstat (limited to 'sys/modules/procfs/Makefile')
-rw-r--r--sys/modules/procfs/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/modules/procfs/Makefile b/sys/modules/procfs/Makefile
index 48a3e021f993..6c840edcfc04 100644
--- a/sys/modules/procfs/Makefile
+++ b/sys/modules/procfs/Makefile
@@ -32,6 +32,7 @@ opt_compat.h:
echo "#define COMPAT_43 1" > ${.TARGET}
echo "#define COMPAT_FREEBSD4 1" >> ${.TARGET}
echo "#define COMPAT_FREEBSD5 1" >> ${.TARGET}
+ echo "#define COMPAT_FREEBSD6 1" >> ${.TARGET}
.if ${MACHINE_ARCH} == "amd64"
echo "#define COMPAT_IA32 1" >> ${.TARGET}
echo "#define COMPAT_LINUX32 1" >> ${.TARGET}