]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
bug #572: make sure we use profiling fallback for all architectures except x86_64...
authorVictor Julien <victor@inliniac.net>
Tue, 2 Oct 2012 11:56:12 +0000 (13:56 +0200)
committerVictor Julien <victor@inliniac.net>
Tue, 2 Oct 2012 11:56:12 +0000 (13:56 +0200)
src/util-cpu.c

index 1bb65ca11d63239697ca902b3a128e59af40c2c9..f36b54702deb56507ee26e1fa222fea90ce0dd46 100644 (file)
@@ -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"