aboutsummaryrefslogtreecommitdiff
path: root/src/arch/x86_64/interrupt/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86_64/interrupt/mod.rs')
-rw-r--r--src/arch/x86_64/interrupt/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86_64/interrupt/mod.rs b/src/arch/x86_64/interrupt/mod.rs
index d961480..7e0cbb8 100644
--- a/src/arch/x86_64/interrupt/mod.rs
+++ b/src/arch/x86_64/interrupt/mod.rs
@@ -57,7 +57,7 @@ impl GateDescriptor64 {
#[no_mangle]
#[cfg(target_arch = "x86_64")]
-extern "C" fn interrupt_gate(slot: u16) {
+extern "C" fn interrupt_gate(_slot: u16) {
interrupt_disable();
// NOTE: the interrupt handler should NEVER block on a lock; in this case
// the CGA screen is protected by a spinlock. The lock holder will never be