From 9fddcc6661d2cf7bb8e704308437d2b1674b50be Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Wed, 27 Sep 2006 19:57:02 +0000 Subject: 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 --- sys/modules/procfs/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/modules/procfs') 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} -- cgit v1.3