summaryrefslogtreecommitdiff
path: root/i386/i386/mp_desc.c
diff options
context:
space:
mode:
authorAlmuHS <almuhs@github.com>2019-05-01 18:03:00 +0200
committerAlmuHS <almuhs@github.com>2019-05-01 18:03:00 +0200
commitf20d4c91dcae6c281c8e6d66329ac1cb9774aaa8 (patch)
treedaf31d4e190781b436c1dfba0c772820f3a7e13b /i386/i386/mp_desc.c
parent559f518f8dd78d19e198ef57f7e5a0ed50262a17 (diff)
try to fix: moved stack_ptr declaration to C code
Diffstat (limited to 'i386/i386/mp_desc.c')
-rw-r--r--i386/i386/mp_desc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/i386/i386/mp_desc.c b/i386/i386/mp_desc.c
index 0bca1672..b69b557f 100644
--- a/i386/i386/mp_desc.c
+++ b/i386/i386/mp_desc.c
@@ -129,8 +129,7 @@ extern void* *apboot, *apbootend;
#define AP_BOOT_ADDR (0x7000)
//cpu stack
-extern void* stack_ptr;
-extern void **stack_bsp;
+void* stack_ptr = 0;
//ICR Destination mode
#define PHYSICAL 0