#define DTRACE_PROBE4(a, b, c, d, e, f, g, h, i) ((void)0)
/* Missing globals */
-extern char spl_version[16];
+extern char spl_version[32];
extern unsigned long spl_hostid;
extern char hw_serial[11];
#define SS_DEBUG_SUBSYS SS_GENERIC
-char spl_version[16] = "SPL v" SPL_META_VERSION;
+char spl_version[32] = "SPL v" SPL_META_VERSION "-" SPL_META_RELEASE;
EXPORT_SYMBOL(spl_version);
unsigned long spl_hostid = HW_INVALID_HOSTID;
if ((rc = spl_vn_init_kallsyms_lookup()))
SGOTO(out10, rc);
- printk(KERN_NOTICE "SPL: Loaded module v%s%s, using hostid 0x%08x\n",
- SPL_META_VERSION, SPL_DEBUG_STR, (unsigned int) spl_hostid);
+ printk(KERN_NOTICE "SPL: Loaded module v%s-%s%s, using hostid "
+ "0x%08x\n", SPL_META_VERSION, SPL_META_RELEASE, SPL_DEBUG_STR,
+ (unsigned int) spl_hostid);
SRETURN(rc);
out10:
spl_zlib_fini();
out1:
spl_debug_fini();
- printk(KERN_NOTICE "SPL: Failed to Load Solaris Porting Layer v%s%s"
- ", rc = %d\n", SPL_META_VERSION, SPL_DEBUG_STR, rc);
+ printk(KERN_NOTICE "SPL: Failed to Load Solaris Porting Layer "
+ "v%s-%s%s, rc = %d\n", SPL_META_VERSION, SPL_META_RELEASE,
+ SPL_DEBUG_STR, rc);
return rc;
}
{
SENTRY;
- printk(KERN_NOTICE "SPL: Unloaded module v%s%s\n",
- SPL_META_VERSION, SPL_DEBUG_STR);
+ printk(KERN_NOTICE "SPL: Unloaded module v%s-%s%s\n",
+ SPL_META_VERSION, SPL_META_RELEASE, SPL_DEBUG_STR);
spl_zlib_fini();
spl_tsd_fini();
spl_kstat_fini();
MKDEV(SPLAT_MAJOR, 0),
NULL, SPLAT_NAME);
- printk(KERN_INFO "SPLAT: Loaded module v%s%s\n",
- SPL_META_VERSION, SPL_DEBUG_STR);
+ printk(KERN_INFO "SPLAT: Loaded module v%s-%s%s\n",
+ SPL_META_VERSION, SPL_META_RELEASE, SPL_DEBUG_STR);
return 0;
error:
printk(KERN_ERR "SPLAT: Error registering splat device, %d\n", rc);
SPLAT_SUBSYSTEM_FINI(kmem);
ASSERT(list_empty(&splat_module_list));
- printk(KERN_INFO "SPLAT: Unloaded module v%s%s\n",
- SPL_META_VERSION, SPL_DEBUG_STR);
+ printk(KERN_INFO "SPLAT: Unloaded module v%s-%s%s\n",
+ SPL_META_VERSION, SPL_META_RELEASE, SPL_DEBUG_STR);
return 0;
}