projects
/
cascardo
/
ovs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63759e7
)
util: Remove duplicate CACHE_LINE_SIZE definition.
author
Ben Pfaff
<blp@nicira.com>
Thu, 8 May 2014 23:42:24 +0000
(16:42 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Thu, 8 May 2014 23:42:44 +0000
(16:42 -0700)
Reported-by: Jarno Rajahalme <jrajahalme@nicira.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Andy Zhou <azhou@nicira.com>
lib/util.h
patch
|
blob
|
history
diff --git
a/lib/util.h
b/lib/util.h
index
743b9fe
..
4d0ba76
100644
(file)
--- a/
lib/util.h
+++ b/
lib/util.h
@@
-151,8
+151,6
@@
is_pow2(uintmax_t x)
#define CACHE_LINE_SIZE 64
BUILD_ASSERT_DECL(IS_POW2(CACHE_LINE_SIZE));
-#define CACHE_LINE_SIZE 64 /* Correct for most CPUs. */
-
static inline void
ovs_prefetch_range(const void *start, size_t size)
{