Index: linux-2.6.21-rc7/arch/ia64/sn/kernel/xpc_main.c =================================================================== --- linux-2.6.21-rc7.orig/arch/ia64/sn/kernel/xpc_main.c 2007-04-23 11:49:58.000000000 -0700 +++ linux-2.6.21-rc7/arch/ia64/sn/kernel/xpc_main.c 2007-04-23 11:51:17.000000000 -0700 @@ -811,6 +811,8 @@ xpc_create_kthreads(struct xpc_channel * pid_t pid; u64 args = XPC_PACK_ARGS(ch->partid, ch->number); struct xpc_partition *part = &xpc_partitions[ch->partid]; + struct task_struct *task; + while (needed-- > 0) { @@ -839,7 +841,7 @@ xpc_create_kthreads(struct xpc_channel * xpc_msgqueue_ref(ch); task = kthread_run(xpc_daemonize_kthread, args, - "xpc%02dc%d", partid, ch_number); + "xpc%02dc%d", ch->partid, ch->number); if (IS_ERR(task)) { /* the fork failed */