diff options
author | Jérémy Bobbio <lunar@debian.org> | 2012-04-06 17:47:43 +0200 |
---|---|---|
committer | Nicolas Braud-Santoni <nicolas@braud-santoni.eu> | 2019-08-14 16:21:38 +0200 |
commit | 6dfce535952d4b69ea543788afef57d67178b8e1 (patch) | |
tree | 328e6d31979c14d8d728ae27ada36aa35c51f654 /src | |
parent | Merge pull request #10 from erahn/master (diff) | |
download | haveged-6dfce535952d4b69ea543788afef57d67178b8e1.tar.xz haveged-6dfce535952d4b69ea543788afef57d67178b8e1.zip |
Remove support for CPUID on ia64
Forwarded: by email to <gary@issiweb.com>, CC to <lunar@debian.org> 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
Diffstat (limited to 'src')
-rw-r--r-- | src/havegecollect.h | 4 |
1 files changed, 0 insertions, 4 deletions
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 |