X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;ds=sidebyside;f=urcu%2Farch_x86.h;h=e3171a24fa608d044de77ad8633e67e4adbbc69f;hb=a2c502feb1f1510eef3234168bc16a98404694bf;hp=c4674de0d35adfbe3eaa19560ba3a4750583fecb;hpb=e4d1eb09301904b56cdf22e1d6042df4492d57cb;p=urcu.git diff --git a/urcu/arch_x86.h b/urcu/arch_x86.h index c4674de..e3171a2 100644 --- a/urcu/arch_x86.h +++ b/urcu/arch_x86.h @@ -47,16 +47,6 @@ extern "C" { #define cpu_relax() asm volatile("rep; nop" : : : "memory"); -/* - * Serialize core instruction execution. Also acts as a compiler barrier. - * Cannot use cpuid on PIC because it clobbers the ebx register; - * error: PIC register 'ebx' clobbered in 'asm' - */ -#ifndef __PIC__ -#define sync_core() \ - asm volatile("cpuid" : : : "memory", "eax", "ebx", "ecx", "edx"); -#endif - #define rdtscll(val) \ do { \ unsigned int __a, __d; \