Module Name: src Committed By: christos Date: Tue Aug 22 12:02:34 UTC 2023
Modified Files: src/sys/compat/linux/common: linux_inotify.c Log Message: aarch64 does not have sys_inotify_init()... To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/compat/linux/common/linux_inotify.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/compat/linux/common/linux_inotify.c diff -u src/sys/compat/linux/common/linux_inotify.c:1.2 src/sys/compat/linux/common/linux_inotify.c:1.3 --- src/sys/compat/linux/common/linux_inotify.c:1.2 Sun Aug 20 14:09:25 2023 +++ src/sys/compat/linux/common/linux_inotify.c Tue Aug 22 08:02:34 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: linux_inotify.c,v 1.2 2023/08/20 18:09:25 christos Exp $ */ +/* $NetBSD: linux_inotify.c,v 1.3 2023/08/22 12:02:34 christos Exp $ */ /*- * Copyright (c) 2023 The NetBSD Foundation, Inc. @@ -29,7 +29,7 @@ * POSSIBILITY OF SUCH DAMAGE. */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux_inotify.c,v 1.2 2023/08/20 18:09:25 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_inotify.c,v 1.3 2023/08/22 12:02:34 christos Exp $"); #include <sys/param.h> #include <sys/types.h> @@ -331,6 +331,7 @@ leave0: return error; } +#ifndef __aarch64__ /* * inotify_init(2). Initialize a new inotify fd with flags=0. */ @@ -339,6 +340,7 @@ linux_sys_inotify_init(struct lwp *l, co { return do_inotify_init(l, retval, 0); } +#endif /* * inotify_init(2). Initialize a new inotify fd with the given flags.