projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'adah1972-improve-md'
[userspace-rcu.git]
/
tests
/
unit
/
get_max_cpuid_from_sysfs.c
diff --git
a/tests/unit/get_max_cpuid_from_sysfs.c
b/tests/unit/get_max_cpuid_from_sysfs.c
index a948a22e51367496743517ab3105ed8bd15558d2..37c4b3d4851e9b410cac37046752819f9c8ba6f5 100644
(file)
--- a/
tests/unit/get_max_cpuid_from_sysfs.c
+++ b/
tests/unit/get_max_cpuid_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[])
@@
-27,3
+29,11
@@
int main(int argc, char *argv[])
else
return EXIT_FAILURE;
}
+
+#else
+
+int main(void)
+{
+ return EXIT_SUCCESS;
+}
+#endif
This page took
0.040001 seconds
and
4
git commands to generate.