/* this kills every thread in the thread group. Note that any externally wait4()-ing process will get the correct exit code - even if this thread is not the thread group leader.  */
SYSCALL_DEFINE1(exit_group, int, error_code)
/* this kills every thread in the thread group. Note that any externally wait4()-ing process will get the correct exit code - even if this thread is not the thread group leader.  */
SYSCALL_DEFINE1(exit_group, int, error_code)
{
	do_group_exit((error_code & 0xff) << 8);
	return 0;
}