summaryrefslogtreecommitdiff
path: root/kern/cpu_number.c
diff options
context:
space:
mode:
Diffstat (limited to 'kern/cpu_number.c')
-rw-r--r--kern/cpu_number.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kern/cpu_number.c b/kern/cpu_number.c
index 324ed752..0b2e2f1c 100644
--- a/kern/cpu_number.c
+++ b/kern/cpu_number.c
@@ -1,7 +1,7 @@
int apic2kernel[255];
int cpu_number_start = 0, cpu_number_counter = 0;
-static int cpu_number(void) {
+int cpu_number(void) {
int eax = 1, ebx = 0, ecx = 0, edx = 0;
unsigned int i = 0;
int apic_id = 0;