X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=datapath%2Flinux%2Fcompat%2Finclude%2Fasm%2Fpercpu.h;h=65bce084755bf581780e5265ab3a679ea35c5957;hb=42d5dd9595cce35a8825a20be7d71a3a8f6f5640;hp=404b93773c00124b739ecdd6e3ea320206db9a34;hpb=f285d3e715512571c4b2f92a4d1c65022bbcc9d5;p=sliver-openvswitch.git diff --git a/datapath/linux/compat/include/asm/percpu.h b/datapath/linux/compat/include/asm/percpu.h index 404b93773..65bce0847 100644 --- a/datapath/linux/compat/include/asm/percpu.h +++ b/datapath/linux/compat/include/asm/percpu.h @@ -3,7 +3,7 @@ #include_next -#ifndef this_cpu_ptr +#if !defined this_cpu_ptr && !defined HAVE_THIS_CPU_PTR #define this_cpu_ptr(ptr) per_cpu_ptr(ptr, smp_processor_id()) #endif