/* Originally from kernel/power/process.c freezing is complete, mark current process as frozen  */
static void frozen_process(void)
/* Originally from kernel/power/process.c freezing is complete, mark current process as frozen  */
static void frozen_process(void)
{
	if (!unlikely(current->flags & PF_NOFREEZE)) {
		current->flags |= PF_FROZEN;
		wmb();
	}
	clear_freeze_flag(current);
}