From 41f7eadf3e5e6b42ecd54c53adab112253122e34 Mon Sep 17 00:00:00 2001 From: hunt Date: Fri, 9 Sep 2005 09:03:21 +0000 Subject: 2005-09-09 Martin Hunt * runtime.h: Add arith.c * recreate_links: Add arith.c * emul.h: Define jiffies so arith.c will compile. --- runtime/user/emul.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'runtime/user/emul.h') 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 -- cgit