From a432e18a24569804c82f14b36ae7d8dfcc245da7 Mon Sep 17 00:00:00 2001 From: hunt Date: Mon, 28 Nov 2005 22:08:39 +0000 Subject: 2005-11-28 Martin Hunt * alloc.c (__stp_valloc_percpu): Use same code for up and smp. (_stp_per_cpu_ptr): New macro. * user/alloc.c: Ditto. * map.c: Use _stp_map_cpu_ptr(). * map-stat.c: Ditto. * pmap-gen.c: Ditto. * runtime.h: Include alloc.c * user/runtime.h: Ditto. --- runtime/user/runtime.h | 1 + 1 file changed, 1 insertion(+) (limited to 'runtime/user/runtime.h') diff --git a/runtime/user/runtime.h b/runtime/user/runtime.h index 725147a4..79a9dc22 100644 --- a/runtime/user/runtime.h +++ b/runtime/user/runtime.h @@ -51,5 +51,6 @@ void exit(int status); #include "print.c" #include "string.c" #include "arith.c" +#include "alloc.c" #endif /* _RUNTIME_H_ */ -- cgit