[ovs-dev] [PATCH 2/2] datapath: Account for RHEL6.4 backports in compat layer

Jesse Gross jesse at nicira.com
Tue Apr 23 20:42:18 UTC 2013


On Fri, Apr 19, 2013 at 7:01 AM, Thomas Graf <tgraf at redhat.com> wrote:
> diff --git a/datapath/linux/compat/include/asm/percpu.h b/datapath/linux/compat/include/asm/percpu.h
> index 404b937..65bce08 100644
> --- a/datapath/linux/compat/include/asm/percpu.h
> +++ b/datapath/linux/compat/include/asm/percpu.h
> @@ -3,7 +3,7 @@
>
>  #include_next <asm/percpu.h>
>
> -#ifndef this_cpu_ptr
> +#if !defined this_cpu_ptr && !defined HAVE_THIS_CPU_PTR

This one surprises me - I would expect that the check for the
definition should already catch any backports. Can you describe what
the issue is?



More information about the dev mailing list