projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
uatomic/x86: Remove redundant memory barriers
[userspace-rcu.git]
/
tests
/
unit
/
get_cpu_mask_from_sysfs.c
diff --git
a/tests/unit/get_cpu_mask_from_sysfs.c
b/tests/unit/get_cpu_mask_from_sysfs.c
index 91f2ebf2b31ce48a0dd2e1f32506a6f55e2fbbdf..7938f234bc8e042cf52ec4a7a90769e9ddc8b07c 100644
(file)
--- a/
tests/unit/get_cpu_mask_from_sysfs.c
+++ b/
tests/unit/get_cpu_mask_from_sysfs.c
@@
-7,6
+7,8
@@
#include <stdio.h>
#include <stdlib.h>
+#ifdef __linux__
+
#include "compat-smp.h"
int main(int argc, char *argv[])
@@
-28,3
+30,11
@@
int main(int argc, char *argv[])
else
return EXIT_FAILURE;
}
+
+#else
+
+int main(void)
+{
+ return EXIT_SUCCESS;
+}
+#endif
This page took
0.024242 seconds
and
4
git commands to generate.