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

Andy Zhou azhou at nicira.com
Thu May 8 19:50:39 UTC 2014


Acked-by: Andy Zhou <azhou at nicira.com>

On Thu, May 8, 2014 at 12:41 PM, Ben Pfaff <blp at nicira.com> wrote:
> 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
>
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev



More information about the dev mailing list