summaryrefslogtreecommitdiff
path: root/i386/i386/mp_desc.c
diff options
context:
space:
mode:
Diffstat (limited to 'i386/i386/mp_desc.c')
-rw-r--r--i386/i386/mp_desc.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/i386/i386/mp_desc.c b/i386/i386/mp_desc.c
index d917262b..858c2a63 100644
--- a/i386/i386/mp_desc.c
+++ b/i386/i386/mp_desc.c
@@ -396,13 +396,7 @@ void paging_setup(){
int
cpu_ap_main()
{
-
- if(cpu_setup())
- goto idle;
-
-idle:
- for(;;)
- asm volatile("hlt");
+ if(cpu_setup()) return -1;
}
/*TODO: Reimplement function to send Startup IPI to cpu*/