PERFORCE change 132947 for review
John Birrell
jb at FreeBSD.org
Wed Jan 9 22:07:29 PST 2008
http://perforce.freebsd.org/chv.cgi?CH=132947
Change 132947 by jb at jb_freebsd1 on 2008/01/10 06:06:40
Add another variable (rootvp) that exists in the Solaris kernel.
Type define vnode_t so that the DTrace test suite can use that too.
Affected files ...
.. //depot/projects/dtrace/src/sys/cddl/dev/dtrace/dtrace_test.c#2 edit
Differences ...
==== //depot/projects/dtrace/src/sys/cddl/dev/dtrace/dtrace_test.c#2 (text+ko) ====
@@ -32,6 +32,7 @@
#include <sys/conf.h>
#include <sys/kernel.h>
#include <sys/module.h>
+#include <sys/vnode.h>
/*
* These are variables that the DTrace test suite references in the
@@ -40,6 +41,10 @@
*/
int kmem_flags;
+typedef struct vnode vnode_t;
+vnode_t dummy;
+vnode_t *rootvp = &dummy;
+
static int
dtrace_test_modevent(module_t mod, int type, void *data)
{
More information about the p4-projects
mailing list