summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJérémy Bobbio <lunar@debian.org>2012-04-06 17:47:43 +0200
committerNicolas Braud-Santoni <nicolas@braud-santoni.eu>2019-08-14 16:21:38 +0200
commit6dfce535952d4b69ea543788afef57d67178b8e1 (patch)
tree328e6d31979c14d8d728ae27ada36aa35c51f654 /src
parentMerge pull request #10 from erahn/master (diff)
downloadhaveged-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.h4
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