The branch main has been updated by dchagin: URL: https://cgit.FreeBSD.org/src/commit/?id=1fd26da926d55bc0923b1218af65720dfaa4ca28
commit 1fd26da926d55bc0923b1218af65720dfaa4ca28 Author: Dmitry Chagin <[email protected]> AuthorDate: 2021-06-29 17:19:17 +0000 Commit: Dmitry Chagin <[email protected]> CommitDate: 2021-06-29 17:19:17 +0000 LinuxKPI: Put compat code under appropriate condition. Reviewed by: hselasky, emaste, kib Differential Revision: https://reviews.freebsd.org/D30927 MFC after: 2 weeks --- sys/compat/linuxkpi/common/src/linux_compat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/compat/linuxkpi/common/src/linux_compat.c b/sys/compat/linuxkpi/common/src/linux_compat.c index 4e949cdb91c4..3e1b2e517141 100644 --- a/sys/compat/linuxkpi/common/src/linux_compat.c +++ b/sys/compat/linuxkpi/common/src/linux_compat.c @@ -964,7 +964,7 @@ linux_file_ioctl_sub(struct file *fp, struct linux_file *filp, /* fetch user-space pointer */ data = *(void **)data; } -#if defined(__amd64__) +#ifdef COMPAT_FREEBSD32 if (SV_PROC_FLAG(td->td_proc, SV_ILP32)) { /* try the compat IOCTL handler first */ if (fop->compat_ioctl != NULL) { _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all To unsubscribe, send any mail to "[email protected]"
