projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix precompiler error in arch_*.h, add arch-api test
[userspace-rcu.git]
/
arch_x86.h
diff --git
a/arch_x86.h
b/arch_x86.h
index 01b5d50bde8e174cd255a4270172b48bca55e784..e899684b56ddc50b9c43b506e6cb3ccdd6f254d0 100644
(file)
--- a/
arch_x86.h
+++ b/
arch_x86.h
@@
-29,7
+29,7
@@
#define CONFIG_HAVE_MEM_COHERENCY
#ifndef BITS_PER_LONG
#define CONFIG_HAVE_MEM_COHERENCY
#ifndef BITS_PER_LONG
-#define BITS_PER_LONG (
sizeof(unsigned long)
* 8)
+#define BITS_PER_LONG (
__SIZEOF_LONG__
* 8)
#endif
#ifdef CONFIG_HAVE_FENCE
#endif
#ifdef CONFIG_HAVE_FENCE
This page took
0.022463 seconds
and
4
git commands to generate.