summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreteo <eteo>2008-03-17 14:46:49 +0000
committereteo <eteo>2008-03-17 14:46:49 +0000
commit3e164074c421d45f63f43e1fde3be78a43428e4c (patch)
treeb89470a1dad14d12ff914b1f3aeb60b91b214c6b
parentd4f3b283f50f2399f55a6603a7a8bb82931a2e04 (diff)
downloadsystemtap-steved-3e164074c421d45f63f43e1fde3be78a43428e4c.tar.gz
systemtap-steved-3e164074c421d45f63f43e1fde3be78a43428e4c.tar.xz
systemtap-steved-3e164074c421d45f63f43e1fde3be78a43428e4c.zip
2008-03-17 Eugene Teo <eteo@redhat.com>
PR 5947 * autoconf-tsc-khz.c: Remove "&& defined(__i386__)" to make the test more pessimistic.
-rw-r--r--runtime/ChangeLog6
-rw-r--r--runtime/autoconf-tsc-khz.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/runtime/ChangeLog b/runtime/ChangeLog
index 92a6eb12..b52ddf7b 100644
--- a/runtime/ChangeLog
+++ b/runtime/ChangeLog
@@ -1,3 +1,9 @@
+2008-03-17 Eugene Teo <eteo@redhat.com>
+
+ PR 5947
+ * autoconf-tsc-khz.c: Remove "&& defined(__i386__)" to make the test
+ more pessimistic.
+
2008-03-14 Masami Hiramatsu <mhiramat@redhat.com>
PR 3542
diff --git a/runtime/autoconf-tsc-khz.c b/runtime/autoconf-tsc-khz.c
index 6c3f453e..f60bf6d0 100644
--- a/runtime/autoconf-tsc-khz.c
+++ b/runtime/autoconf-tsc-khz.c
@@ -1,7 +1,7 @@
#include <linux/version.h>
#include <asm/tsc.h>
-#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,23)) && defined(__i386__)
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,23))
#error "tsc_khz is not exported"
#endif
unsigned int *ptsc = &tsc_khz;