Module Name: src Committed By: martin Date: Mon Sep 16 08:42:20 UTC 2024
Modified Files: src/sys/miscfs/procfs [netbsd-10]: procfs_vfsops.c Log Message: Pull up following revision(s) (requested by pgoyette in ticket #868): sys/miscfs/procfs/procfs_vfsops.c: revision 1.120 (via patch) Define dependencies based on build options. To generate a diff of this commit: cvs rdiff -u -r1.111.4.2 -r1.111.4.3 src/sys/miscfs/procfs/procfs_vfsops.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/miscfs/procfs/procfs_vfsops.c diff -u src/sys/miscfs/procfs/procfs_vfsops.c:1.111.4.2 src/sys/miscfs/procfs/procfs_vfsops.c:1.111.4.3 --- src/sys/miscfs/procfs/procfs_vfsops.c:1.111.4.2 Fri Sep 13 14:09:51 2024 +++ src/sys/miscfs/procfs/procfs_vfsops.c Mon Sep 16 08:42:20 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: procfs_vfsops.c,v 1.111.4.2 2024/09/13 14:09:51 martin Exp $ */ +/* $NetBSD: procfs_vfsops.c,v 1.111.4.3 2024/09/16 08:42:20 martin Exp $ */ /* * Copyright (c) 1993 @@ -76,10 +76,11 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: procfs_vfsops.c,v 1.111.4.2 2024/09/13 14:09:51 martin Exp $"); +__KERNEL_RCSID(0, "$NetBSD: procfs_vfsops.c,v 1.111.4.3 2024/09/16 08:42:20 martin Exp $"); #if defined(_KERNEL_OPT) #include "opt_compat_netbsd.h" +#include "opt_sysv_ipc.h" #endif #include <sys/param.h> @@ -107,7 +108,11 @@ __KERNEL_RCSID(0, "$NetBSD: procfs_vfsop #include <uvm/uvm_extern.h> /* for PAGE_SIZE */ -MODULE(MODULE_CLASS_VFS, procfs, "ptrace_common,mqueue,sysv_ipc"); +MODULE(MODULE_CLASS_VFS, procfs, "ptrace_common" +#if defined(SYSVSHM) || defined(SYSVSEM) || defined(SYSVMSG) + ",sysv_ipc" +#endif +); VFS_PROTOS(procfs);