summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/amd64')
-rw-r--r--sys/arch/amd64/amd64/cpu_mp.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/arch/amd64/amd64/cpu_mp.c b/sys/arch/amd64/amd64/cpu_mp.c
index 2afdd43..0eb6dba 100644
--- a/sys/arch/amd64/amd64/cpu_mp.c
+++ b/sys/arch/amd64/amd64/cpu_mp.c
@@ -80,7 +80,6 @@ ap_bootstrap(struct cpu_info *ci)
{
struct limine_smp_response *resp = g_smp_req.response;
struct limine_smp_info **cpus;
- struct cpu_info *ap_ci = NULL;
size_t cpu_init_counter;
/* Should not happen */
@@ -101,11 +100,6 @@ ap_bootstrap(struct cpu_info *ci)
continue;
}
- ap_ci = dynalloc(sizeof(struct cpu_info));
- __assert(ap_ci != NULL);
- cpu_attach(ap_ci);
-
- cpus[i]->extra_argument = (uintptr_t)dynalloc(sizeof(struct cpu_info));
cpus[i]->goto_address = ap_trampoline;
}
}