Hi Pedro,

I'm getting same error even after including atomic.h file.. Is any other
stuff missing ??

On Fri, Aug 7, 2015 at 10:39 PM, ViGnEsHwArAn R <[email protected]>
wrote:

> OK Pedro, I will try thanks
> On 7 Aug 2015 22:32, Pedro Marques <[email protected]> wrote:
>
> These symbols are generated by gcc’s atomic builtins but the kernel is
> compiled without libgcc. You can use the kernel’s atomic.h header file
> instead.
>
>
> https://github.com/torvalds/linux/blob/master/arch/powerpc/include/asm/atomic.h
>
> I’m assuming that atomic.h will be defined for intel also… we can use this
> header rather than the gcc builtins in the kernel module.
>
> On Aug 7, 2015, at 4:23 AM, Vigneshwaran R <[email protected]>
> wrote:
>
> Hi,
>
> I am porting vrouter-agent to powerpc platform.While compiling the kernel
> module i am getting following warnings. While inserting the kernel module
> it throws the same error.
>
> WARNING: "__sync_fetch_and_add_8" undefined
> WARNING: "__sync_sub_and_fetch_8" undefined
> Can Anyone tell me how to resolve this issue ???
>
> Thank you..
> _______________________________________________
> Dev mailing list
> [email protected]
> http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org
>
>
>
_______________________________________________
Dev mailing list
[email protected]
http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org

Reply via email to