Sign in
android-kvm
/
linux
/
refs/heads/for-upstream/pkvm-pre
/
.
/
tools
/
build
/
feature
/
test-sched_getcpu.c
blob: 48995ac7911eae5084fada30c9b48069bdf2ba77 [
file
] [
log
] [
blame
] [
edit
]
// SPDX-License-Identifier: GPL-2.0
#ifndef
_GNU_SOURCE
#define
_GNU_SOURCE
#endif
#include
<sched.h>
int
main
(
void
)
{
return
sched_getcpu
();
}
#undef
_GNU_SOURCE