summaryrefslogtreecommitdiff
blob: 4b510a55069938d3d5e4fffc8ac19e46fbb8c215 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
------------------------------------------------------------------------
r4209 | gmerlin | 2014-06-02 16:38:33 +0200 (Mon, 02 Jun 2014) | 2 lines

* Compilation fix


Index: gavl/cputest.c
===================================================================
--- gavl/cputest.c	(revision 4208)
+++ gavl/cputest.c	(revision 4209)
@@ -69,6 +69,8 @@
      int rval = 0;
     int eax, ebx, ecx, edx;
     int max_std_level, max_ext_level, std_caps=0, ext_caps=0;
+
+#ifndef ARCH_X86_64
     long a, c;
 
     __asm__ __volatile__ (
@@ -94,6 +96,7 @@
 
     if (a == c)
         return 0; /* CPUID not supported */
+#endif // !ARCH_X86_64
 
     cpuid(0, max_std_level, ebx, ecx, edx);
 

------------------------------------------------------------------------