diff options
author | glebius <glebius@FreeBSD.org> | 2013-10-16 05:02:01 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2013-10-16 05:02:01 +0000 |
commit | d000cac12445848895ecb531ec891b37298da6d5 (patch) | |
tree | fbbea8eb3af05dcdd0beb998335f35a53676a752 /sys/sys/_task.h | |
parent | 26565df7572a2a2c0df796673bfd6b2caf4320d4 (diff) | |
download | FreeBSD-src-d000cac12445848895ecb531ec891b37298da6d5.zip FreeBSD-src-d000cac12445848895ecb531ec891b37298da6d5.tar.gz |
For VIMAGE kernels store vnet in the struct task, and set vnet context
during task processing.
Reported & tested by: mm
Diffstat (limited to 'sys/sys/_task.h')
-rw-r--r-- | sys/sys/_task.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/sys/_task.h b/sys/sys/_task.h index 11fd1bc..8ef0250 100644 --- a/sys/sys/_task.h +++ b/sys/sys/_task.h @@ -49,6 +49,9 @@ struct task { u_short ta_priority; /* (c) Priority */ task_fn_t *ta_func; /* (c) task handler */ void *ta_context; /* (c) argument for handler */ +#ifdef VIMAGE + struct vnet *ta_vnet; /* (c) vnet context */ +#endif }; #endif /* !_SYS__TASK_H_ */ |