X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/blobdiff_plain/f4cf4cb801bfdc3484f5984d41ea4dfb02c2e54f..fb0f29c4a99dddd488cd40818c57b035b5406d84:/sys/sys/msgport2.h diff --git a/sys/sys/msgport2.h b/sys/sys/msgport2.h index 63621d9955..d6efee89e4 100644 --- a/sys/sys/msgport2.h +++ b/sys/sys/msgport2.h @@ -3,7 +3,7 @@ * * Implements Inlines for LWKT messages and ports. * - * $DragonFly: src/sys/sys/msgport2.h,v 1.13 2007/05/23 08:56:59 dillon Exp $ + * $DragonFly: src/sys/sys/msgport2.h,v 1.14 2007/05/24 05:51:28 dillon Exp $ */ #ifndef _SYS_MSGPORT2_H_ @@ -71,6 +71,13 @@ lwkt_replymsg(lwkt_msg_t msg, int error) port->mp_replyport(port, msg); } +static __inline +void * +lwkt_getport(lwkt_port_t port) +{ + return(port->mp_getport(port)); +} + static __inline void * lwkt_waitport(lwkt_port_t port, lwkt_msg_t msg)