summaryrefslogtreecommitdiff
path: root/kernel/tests/stack_overflow.rs
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/tests/stack_overflow.rs')
-rw-r--r--kernel/tests/stack_overflow.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/tests/stack_overflow.rs b/kernel/tests/stack_overflow.rs
index 5ddc1ae..cff28e0 100644
--- a/kernel/tests/stack_overflow.rs
+++ b/kernel/tests/stack_overflow.rs
@@ -14,7 +14,7 @@ use kernel::io::qemu;
extern "C" fn _start() -> ! {
kernel::init();
unsafe {
- exception_handlers::expect_fault(interrupts::Interrupts::PageFault);
+ exception_handlers::expect_fault(interrupts::InterruptType::PageFault);
}
_loop(0);
panic!("PAGE_FAULT not caught");