summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/powerpc/benchmarks/exec_target.c
blob: c14b0fc1edde0ab67bebd1f63ecff99849b23ba1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// 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);
}