summarylogtreecommitdiffstats
path: root/tvtime-pic.patch
diff options
context:
space:
mode:
Diffstat (limited to 'tvtime-pic.patch')
-rw-r--r--tvtime-pic.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/tvtime-pic.patch b/tvtime-pic.patch
new file mode 100644
index 000000000000..00b040e60af9
--- /dev/null
+++ b/tvtime-pic.patch
@@ -0,0 +1,11 @@
+--- tvtime/src/cpu_accel.c
++++ tvtime/src/cpu_accel.c
+@@ -35,7 +35,7 @@
+ int AMD;
+ uint32_t caps;
+
+-#ifndef PIC
++#if !defined(__PIC__) || defined(__x86_64__)
+ #define cpuid(op,eax,ebx,ecx,edx) \
+ __asm__ ("cpuid" \
+ : "=a" (eax), \