ubuntu-linux-kernel/tools/build/feature/test-sched_getcpu.c

11 lines
146 B
C
Raw Permalink Normal View History

2024-04-01 15:06:58 +00:00
// SPDX-License-Identifier: GPL-2.0
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#include <sched.h>
int main(void)
{
return sched_getcpu();
}