Due to changes in the task_struct the following warning is occurs
when initializing the global p0. Since this structure only exists
for it's address to be taken initialize it in a manor which isn't
sensitive to internal changes to the structure.
module/spl/spl-generic.c:58:1: error: missing braces around
initializer [-Werror=missing-braces]
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #576
module_param(spl_hostid, ulong, 0644);
MODULE_PARM_DESC(spl_hostid, "The system hostid.");
-proc_t p0 = { 0 };
+proc_t p0;
EXPORT_SYMBOL(p0);
/*
{
int rc = 0;
+ bzero(&p0, sizeof (proc_t));
spl_random_init();
if ((rc = spl_kvmem_init()))