projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: uatomic powerpc comment about lwsync
[userspace-rcu.git]
/
src
/
compat-smp.h
diff --git
a/src/compat-smp.h
b/src/compat-smp.h
index 7240d2f66b3c8af059338df28bc032192abdcd20..31fa979a7040736999823a49ca1f01b7a4d92c48 100644
(file)
--- a/
src/compat-smp.h
+++ b/
src/compat-smp.h
@@
-36,6
+36,7
@@
static inline int get_num_possible_cpus_sysconf(void)
}
#endif
+#ifdef __linux__
/*
* Get the highest CPU id from sysfs.
*
@@
-235,7
+236,6
@@
error:
return -1;
}
-#ifdef __linux__
/*
* On Linux try sysfs first and fallback to sysconf.
*/
This page took
0.023783 seconds
and
4
git commands to generate.