Reduce dead code, fix aarch64.

This commit is contained in:
4lDO2
2024-03-23 23:51:12 +01:00
parent e6dc0e96f0
commit 12282439b6
11 changed files with 20 additions and 68 deletions
+1 -3
View File
@@ -3,12 +3,10 @@ use core::{
sync::atomic::AtomicBool,
};
use crate::{percpu::PercpuBlock, ptrace, syscall::FloatRegisters};
use crate::syscall::FloatRegisters;
use core::mem::offset_of;
use alloc::sync::Arc;
use spin::Once;
use syscall::PtraceFlags;
use x86::msr;
/// This must be used by the kernel to ensure that context switches are done atomically
+1 -1
View File
@@ -5,7 +5,7 @@ use syscall::{
PTRACE_FLAG_IGNORE, PTRACE_STOP_SIGNAL, SIGCHLD, SIGCONT, SIGKILL, SIGSTOP, SIGTSTP,
SIGTTIN, SIGTTOU, SIG_DFL, SIG_IGN,
},
ptrace_event, SignalStack, SigActionFlags, IntRegisters, Error, EINTR, SIGTERM,
ptrace_event, SignalStack, SigActionFlags, IntRegisters, SIGTERM,
};
use crate::{