From: Victor Julien Date: Tue, 2 Oct 2012 11:56:12 +0000 (+0200) Subject: bug #572: make sure we use profiling fallback for all architectures except x86_64... X-Git-Tag: suricata-1.4beta2~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33b0b07107bd286b020490f7b1306edcffa26ca1;p=thirdparty%2Fsuricata.git bug #572: make sure we use profiling fallback for all architectures except x86_64 and i386. --- diff --git a/src/util-cpu.c b/src/util-cpu.c index 1bb65ca11d..f36b54702d 100644 --- a/src/util-cpu.c +++ b/src/util-cpu.c @@ -183,7 +183,7 @@ void UtilCpuPrintSummary() { uint64_t UtilCpuGetTicks(void) { uint64_t val; -#if defined(__GNUC__) +#if defined(__GNUC__) && (defined(__x86_64) || defined(_X86_64_) || defined(ia_64) || defined(__i386__)) #if defined(__x86_64) || defined(_X86_64_) || defined(ia_64) __asm__ __volatile__ ( "xorl %%eax,%%eax\n\t"