From 19333efb9eb634f17bea41d0cec8ee28c595cce8 Mon Sep 17 00:00:00 2001 From: rsc Date: Sun, 31 May 2009 00:28:45 +0000 Subject: Some proc cleanup, moving some of copyproc into allocproc. Also, an experiment: use "thread-local" storage for c and cp instead of the #define macro for curproc[cpu()]. --- lapic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lapic.c') diff --git a/lapic.c b/lapic.c index 915765a..f64f54b 100644 --- a/lapic.c +++ b/lapic.c @@ -121,7 +121,7 @@ lapiceoi(void) // Spin for a given number of microseconds. // On real hardware would want to tune this dynamically. -static void +void microdelay(int us) { volatile int j = 0; -- cgit v1.2.3