linuxdebug/tools/testing/selftests/powerpc/benchmarks/exec_target.c

17 lines
253 B
C
Raw Normal View History

2024-07-16 15:50:57 +02:00
// SPDX-License-Identifier: GPL-2.0+
/*
* Part of fork context switch microbenchmark.
*
* Copyright 2018, Anton Blanchard, IBM Corp.
*/
#define _GNU_SOURCE
#include <unistd.h>
#include <sys/syscall.h>
void _start(void)
{
syscall(SYS_exit, 0);
}