1 /* SPDX-License-Identifier: GPL-2.0 */
6 #include <linux/compiler.h>
10 static volatile sig_atomic_t done
;
12 static void sighandler(int sig __maybe_unused
)
17 static int __sqrtloop(int sec
)
19 signal(SIGALRM
, sighandler
);
27 static int sqrtloop(int argc
, const char **argv
)
36 return __sqrtloop(sec
);
45 DEFINE_WORKLOAD(sqrtloop
);