I am porting some source code to powerpc platform.While compiling the kernel module i am getting following warnings. While inserting the kernel module it throws the warning as error.
WARNING: "__sync_fetch_and_add_8" undefined
WARNING: "__sync_sub_and_fetch_8" undefined
Can Anyone tell me how to resolve this issue ???