From: Jérémy Bobbio Date: Fri, 6 Apr 2012 15:47:43 +0000 (+0200) Subject: Remove support for CPUID on ia64 X-Git-Tag: v1.9.5-alpha~11^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6dfce535952d4b69ea543788afef57d67178b8e1;p=haveged Remove support for CPUID on ia64 Forwarded: by email to , CC to on 2016-06-27 The current implementation simply fail to build and the 'cpuid' instruction on Itanium spreads out value differently than what 'cpuid' does on i386 and amd64. So the code needs to be worked out quite differently to work. In the meantime, disabling CPUID support will make haveged use the default cache values on ia64. Gbp-Pq: Name 0001-Remove-support-for-CPUID-on-ia64.patch --- diff --git a/src/havegecollect.h b/src/havegecollect.h index 1d3bef7..6259862 100644 --- a/src/havegecollect.h +++ b/src/havegecollect.h @@ -117,11 +117,7 @@ typedef struct h_collect { #ifdef HAVE_ISA_IA64 #define ARCH "ia64" -#define CPUID(op,reg) ASM("mov %0=cpuid[%1]"\ - : "=r" (value)\ - : "r" (reg)) #define HARDCLOCK(x) ASM("mov %0=ar.itc" : "=r"(x)) -#define HASCPUID(x) x=1 #endif #ifdef HAVE_ISA_SPARC