summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjirka-h <hladky.jiri@gmail.com>2019-08-19 21:47:06 +0200
committerGitHub <noreply@github.com>2019-08-19 21:47:06 +0200
commit07cbfa2c9385711cc7ae176aad3d1a6b6b0de4b1 (patch)
tree9539aac0559271dbf2de61bb7a95f2d535f413cb
parentMerge pull request #18 from nbraud/test-output (diff)
parentRemove support for CPUID on ia64 (diff)
downloadhaveged-07cbfa2c9385711cc7ae176aad3d1a6b6b0de4b1.tar.xz
haveged-07cbfa2c9385711cc7ae176aad3d1a6b6b0de4b1.zip
Merge pull request #19 from nbraud/cpuid-ia64
Remove support for CPUID on ia64
-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