[ovs-dev] [PATCH] util: Remove duplicate CACHE_LINE_SIZE definition.

Ben Pfaff blp at nicira.com
Thu May 8 19:41:19 UTC 2014


Reported-by: Jarno Rajahalme <jrajahalme at nicira.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>
---
 lib/util.h |    2 --
 1 file changed, 2 deletions(-)

diff --git a/lib/util.h b/lib/util.h
index 743b9fe..4d0ba76 100644
--- 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)
 {
-- 
1.7.10.4




More information about the dev mailing list