Make cpu_id_opt non-mutable.

This commit is contained in:
4lDO2
2021-02-03 18:10:39 +01:00
parent 44527a8340
commit 6f3fc3a4f4

View File

@@ -46,7 +46,7 @@ pub fn clone(flags: CloneFlags, stack_base: usize) -> Result<ContextId> {
let ens;
let umask;
let sigmask;
let mut cpu_id_opt = None;
let cpu_id_opt = None;
let arch;
let vfork;
let mut kfx_opt = None;