recalc_sigpending(current);
spin_unlock_irq(¤t->sigmask_lock);
sprintf(current->comm, "ocf-random");
+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(3,8,0)
+ recalc_sigpending();
+ sprintf(current->comm, "ocf-random");
#else
daemonize("ocf-random");
allow_signal(SIGKILL);