summaryrefslogtreecommitdiffstats
path: root/runtime/user/emul.h
diff options
context:
space:
mode:
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