summaryrefslogtreecommitdiffstats
path: root/runtime/user
diff options
context:
space:
mode:
authorhunt <hunt>2005-09-09 09:03:21 +0000
committerhunt <hunt>2005-09-09 09:03:21 +0000
commit41f7eadf3e5e6b42ecd54c53adab112253122e34 (patch)
treec6d4ba3c24253d749143745478dc574ff5f77199 /runtime/user
parentded7c51403aaee14faa3c231d53177e2b90bea30 (diff)
downloadsystemtap-steved-41f7eadf3e5e6b42ecd54c53adab112253122e34.tar.gz
systemtap-steved-41f7eadf3e5e6b42ecd54c53adab112253122e34.tar.xz
systemtap-steved-41f7eadf3e5e6b42ecd54c53adab112253122e34.zip
2005-09-09 Martin Hunt <hunt@redhat.com>
* runtime.h: Add arith.c * recreate_links: Add arith.c * emul.h: Define jiffies so arith.c will compile.
Diffstat (limited to 'runtime/user')
-rw-r--r--runtime/user/ChangeLog6
-rw-r--r--runtime/user/emul.h3
-rwxr-xr-xruntime/user/recreate_links1
-rw-r--r--runtime/user/runtime.h1
4 files changed, 11 insertions, 0 deletions
diff --git a/runtime/user/ChangeLog b/runtime/user/ChangeLog
index 357bb422..8b683da4 100644
--- a/runtime/user/ChangeLog
+++ b/runtime/user/ChangeLog
@@ -1,3 +1,9 @@
+2005-09-09 Martin Hunt <hunt@redhat.com>
+
+ * runtime.h: Add arith.c
+ * recreate_links: Add arith.c
+ * emul.h: Define jiffies so arith.c will compile.
+
2005-08-31 Martin Hunt <hunt@redhat.com>
* emul.h (_stp_kallsyms_lookup): Renamed from kallsyms_lookup.
diff --git a/runtime/user/emul.h b/runtime/user/emul.h
index 2821e8ac..fa8d9fb3 100644
--- a/runtime/user/emul.h
+++ b/runtime/user/emul.h
@@ -19,6 +19,9 @@ int vscnprintf(char *buf, size_t size, const char *fmt, va_list args)
#define for_each_cpu(cpu) \
for (cpu = 0; cpu < NR_CPUS; cpu++)
+// just to eliminate compile errors
+unsigned long volatile __jiffy_data jiffies = 12345678;
+
int _processor_number = 0;
#define smp_processor_id() _processor_number
#define get_cpu() _processor_number
diff --git a/runtime/user/recreate_links b/runtime/user/recreate_links
index c29c8e18..a45b5608 100755
--- a/runtime/user/recreate_links
+++ b/runtime/user/recreate_links
@@ -15,3 +15,4 @@ ln -s ../counter.c .
ln -s ../stat.c .
ln -s ../stat.h .
ln -s ../stat-common.c .
+ln -s ../arith.c .
diff --git a/runtime/user/runtime.h b/runtime/user/runtime.h
index 1d6d5307..b13f2cc6 100644
--- a/runtime/user/runtime.h
+++ b/runtime/user/runtime.h
@@ -48,5 +48,6 @@ void exit(int status);
#include "io.c"
#include "print.c"
#include "string.c"
+#include "arith.c"
#endif /* _RUNTIME_H_ */