Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/librump/rumpkern Initialize the module_hook synchro...
details: https://anonhg.NetBSD.org/src/rev/e4d3982e8eb9
branches: trunk
changeset: 847235:e4d3982e8eb9
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Sun Dec 15 14:21:34 2019 +0000
description:
Initialize the module_hook synchronization variables in rump, too.
Fixes recently reported test failures for dev/sysmon/t_swsensor
and net/if_vlan/t_vlan
diffstat:
sys/rump/librump/rumpkern/rump.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (34 lines):
diff -r 4c35c5177ca4 -r e4d3982e8eb9 sys/rump/librump/rumpkern/rump.c
--- a/sys/rump/librump/rumpkern/rump.c Sun Dec 15 14:18:16 2019 +0000
+++ b/sys/rump/librump/rumpkern/rump.c Sun Dec 15 14:21:34 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rump.c,v 1.337 2019/12/07 14:55:58 riastradh Exp $ */
+/* $NetBSD: rump.c,v 1.338 2019/12/15 14:21:34 pgoyette Exp $ */
/*
* Copyright (c) 2007-2011 Antti Kantee. All Rights Reserved.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.337 2019/12/07 14:55:58 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.338 2019/12/15 14:21:34 pgoyette Exp $");
#include <sys/systm.h>
#define ELFSIZE ARCH_ELFSIZE
@@ -52,6 +52,7 @@
#include <sys/ksyms.h>
#include <sys/msgbuf.h>
#include <sys/module.h>
+#include <sys/module_hook.h>
#include <sys/namei.h>
#include <sys/once.h>
#include <sys/percpu.h>
@@ -412,6 +413,7 @@
iostat_init();
fd_sys_init();
module_init();
+ module_hook_init();
devsw_init();
pipe_init();
resource_init();
Home |
Main Index |
Thread Index |
Old Index