2015-08-18 18:10, Jerin Jacob:
> --- a/app/test/test_red.c
> +++ b/app/test/test_red.c
> +#if defined(RTE_ARCH_X86_64) || defined(RTE_ARCH_I686) || 
> defined(RTE_ARCH_X86_X32)
>  #ifdef __PIC__
>      asm volatile (
>      "mov %%ebx, %%edi\n"
> @@ -155,6 +156,7 @@ static inline void rdtsc_prof_start(struct rdtsc_prof *p)
>  #else
>       asm( "cpuid" : : : "%eax", "%ebx", "%ecx", "%edx" );
>  #endif
> +#endif
>       p->clk_start = rte_rdtsc();

The right fix would be to move that arch-specific code into an EAL abstraction.

Reply via email to