summaryrefslogtreecommitdiffstats
path: root/runtime/user/emul.h
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/emul.h
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/emul.h')
-rw-r--r--runtime/user/emul.h3
1 files changed, 3 insertions, 0 deletions
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