Fix a couple of warnings
This commit is contained in:
@@ -67,7 +67,6 @@ pub enum HardBlockedReason {
|
||||
},
|
||||
// TODO: PageFaultOom?
|
||||
NotYetStarted,
|
||||
PtraceStop,
|
||||
}
|
||||
|
||||
const CONTEXT_NAME_CAPAC: usize = 32;
|
||||
|
||||
@@ -212,8 +212,6 @@ pub unsafe fn debugger(target_id: Option<crate::context::ContextId>) {
|
||||
// Super unsafe due to page table switching and raw pointers!
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
pub unsafe fn debugger(target_id: Option<*const RwSpinlock<Context>>) {
|
||||
use core::sync::atomic::Ordering;
|
||||
|
||||
use alloc::sync::Arc;
|
||||
use hashbrown::HashSet;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user