uatomic/x86: Remove redundant memory barriers
[urcu.git] / tests / unit / test_get_possible_cpus_array_len.c
1 /*
2 * SPDX-License-Identifier: GPL-2.0-or-later
3 *
4 * Copyright (C) 2022 Michael Jeanson <mjeanson@efficios.com>
5 */
6
7 #include <stdio.h>
8
9 #include "tap.h"
10
11 #include "compat-smp.h"
12
13 int main(void)
14 {
15 int ret;
16
17 plan_tests(2);
18
19 ret = get_possible_cpus_array_len();
20 ok(ret > 0, "get_possible_cpus_array_len (%d > 0)", ret);
21
22 ret = get_num_possible_cpus_fallback();
23 ok(ret > 0, "get_num_possible_cpus_fallback (%d > 0)", ret);
24
25 return exit_status();
26 }
This page took 0.02981 seconds and 4 git commands to generate.