kernel/fork.c: avoid division by zero