diff options
Diffstat (limited to 'kernel/fork.c')
-rw-r--r-- | kernel/fork.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/fork.c b/kernel/fork.c index 85f6d536608d..a31b823b3c2d 100644 --- a/kernel/fork.c +++ b/kernel/fork.c | |||
@@ -1613,7 +1613,6 @@ long do_fork(unsigned long clone_flags, | |||
1613 | return nr; | 1613 | return nr; |
1614 | } | 1614 | } |
1615 | 1615 | ||
1616 | #ifdef CONFIG_GENERIC_KERNEL_THREAD | ||
1617 | /* | 1616 | /* |
1618 | * Create a kernel thread. | 1617 | * Create a kernel thread. |
1619 | */ | 1618 | */ |
@@ -1622,7 +1621,6 @@ pid_t kernel_thread(int (*fn)(void *), void *arg, unsigned long flags) | |||
1622 | return do_fork(flags|CLONE_VM|CLONE_UNTRACED, (unsigned long)fn, | 1621 | return do_fork(flags|CLONE_VM|CLONE_UNTRACED, (unsigned long)fn, |
1623 | (unsigned long)arg, NULL, NULL); | 1622 | (unsigned long)arg, NULL, NULL); |
1624 | } | 1623 | } |
1625 | #endif | ||
1626 | 1624 | ||
1627 | #ifdef __ARCH_WANT_SYS_FORK | 1625 | #ifdef __ARCH_WANT_SYS_FORK |
1628 | SYSCALL_DEFINE0(fork) | 1626 | SYSCALL_DEFINE0(fork) |