Enable clone_handler on aarch64

This commit is contained in:
Jeremy Soller
2022-08-24 15:50:10 -06:00
parent b20a71113c
commit 6d3fa8b374

View File

@@ -1287,7 +1287,6 @@ impl KernelScheme for ProcScheme {
extern "C" fn clone_handler() {
let context_lock = Arc::clone(context::contexts().current().expect("expected the current context to be set in a spawn closure"));
#[cfg(any(target_arch = "x86", target_arch = "x86_64"))]
unsafe {
let [ip, sp] = context_lock.read().clone_entry.expect("clone_entry must be set");
let [arg, is_singlestep] = [0; 2];