mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 05:40:55 +07:00
kernel/fork.c: fix coding style issues
Fix errors reported by checkpatch.pl. One error is parentheses, the other is a whitespace issue. Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
ff252c1fc5
commit
5d59e18270
@ -1654,7 +1654,7 @@ SYSCALL_DEFINE0(fork)
|
|||||||
return do_fork(SIGCHLD, 0, 0, NULL, NULL);
|
return do_fork(SIGCHLD, 0, 0, NULL, NULL);
|
||||||
#else
|
#else
|
||||||
/* can not support in nommu mode */
|
/* can not support in nommu mode */
|
||||||
return(-EINVAL);
|
return -EINVAL;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
@ -1662,7 +1662,7 @@ SYSCALL_DEFINE0(fork)
|
|||||||
#ifdef __ARCH_WANT_SYS_VFORK
|
#ifdef __ARCH_WANT_SYS_VFORK
|
||||||
SYSCALL_DEFINE0(vfork)
|
SYSCALL_DEFINE0(vfork)
|
||||||
{
|
{
|
||||||
return do_fork(CLONE_VFORK | CLONE_VM | SIGCHLD, 0,
|
return do_fork(CLONE_VFORK | CLONE_VM | SIGCHLD, 0,
|
||||||
0, NULL, NULL);
|
0, NULL, NULL);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user