aboutsummaryrefslogtreecommitdiff
path: root/kern/cpu_number.h
diff options
context:
space:
mode:
Diffstat (limited to 'kern/cpu_number.h')
-rw-r--r--kern/cpu_number.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/kern/cpu_number.h b/kern/cpu_number.h
index 0be2d338..1abe3dbb 100644
--- a/kern/cpu_number.h
+++ b/kern/cpu_number.h
@@ -37,7 +37,8 @@ extern int master_cpu; /* 'master' processor - keeps time */
#if (NCPUS == 1)
/* cpu number is always 0 on a single processor system */
-#define cpu_number() (0)
+#define cpu_number() (0)
+#define cpu_number_slow() (0)
#endif /* NCPUS == 1 */