summaryrefslogtreecommitdiffstats
path: root/tools/build/feature/test-sched_getcpu.c
blob: e448deb4124c1ea8ed96f7b9a430095cdcac2e88 (plain)
1
2
3
4
5
6
7
8
9
10
// SPDX-License-Identifier: GPL-2.0
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#include <sched.h>

int main(void)
{
	return sched_getcpu();
}