diff options
Diffstat (limited to 'usr/src')
-rw-r--r-- | usr/src/uts/common/io/idm/idm.c | 2 | ||||
-rw-r--r-- | usr/src/uts/common/sys/idm/idm_impl.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/usr/src/uts/common/io/idm/idm.c b/usr/src/uts/common/io/idm/idm.c index 1361b8dfb9..ade553dabd 100644 --- a/usr/src/uts/common/io/idm/idm.c +++ b/usr/src/uts/common/io/idm/idm.c @@ -107,6 +107,8 @@ idm_transport_t idm_transport_list[] = { }; +idm_global_t idm; /* Global state */ + int _init(void) { diff --git a/usr/src/uts/common/sys/idm/idm_impl.h b/usr/src/uts/common/sys/idm/idm_impl.h index 346611719d..1e816ee211 100644 --- a/usr/src/uts/common/sys/idm/idm_impl.h +++ b/usr/src/uts/common/sys/idm/idm_impl.h @@ -472,7 +472,7 @@ typedef struct { kmem_cache_t *idm_so_128k_buf_cache; } idm_global_t; -idm_global_t idm; /* Global state */ +extern idm_global_t idm; /* Global state */ int idm_idpool_create(idm_idpool_t *pool); |